update: 更新文件 CaptchaService.java

增加注释
This commit is contained in:
XYW1171736840
2024-08-02 11:35:14 +08:00
parent ba1c63716a
commit 14ac7e04ff

View File

@@ -80,6 +80,8 @@ public class CaptchaService {
/**
* 验证手机发送的验证码是否还在有效时间内
* @param phone 手机号
* @param type 业务类型, 用来区分不同业务的短信验证码
*/
public boolean existsSmsCaptcha(String phone, String type) {
return redisClient.exists(getSmsCaptchaPrefix(type) + phone);