merge refs/merge-requests/3/head into dev

【轻量级 PR】:update: 更新文件 CaptchaService.java

Created-by: XYW1171736840
Author-id: 877802
MR-id: 135440
Commit-by: XYW1171736840
Merged-by: daxpay
E2E-issues: 
Description: update: 更新文件 CaptchaService.java 
 增加注释

See merge request: dromara/dax-pay!3
This commit is contained in:
daxpay
2024-08-02 11:35:51 +08:00

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);