mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-09 22:45:58 +08:00
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:
@@ -80,6 +80,8 @@ public class CaptchaService {
|
||||
|
||||
/**
|
||||
* 验证手机发送的验证码是否还在有效时间内
|
||||
* @param phone 手机号
|
||||
* @param type 业务类型, 用来区分不同业务的短信验证码
|
||||
*/
|
||||
public boolean existsSmsCaptcha(String phone, String type) {
|
||||
return redisClient.exists(getSmsCaptchaPrefix(type) + phone);
|
||||
|
||||
Reference in New Issue
Block a user