luotaiqian 2026-07-06 17:26:03 +08:00
parent 0a4785ae1b
commit c31b0707e2
1 changed files with 1 additions and 2 deletions

View File

@ -96,8 +96,7 @@ public class SmsRemote {
return SingleResponse.of(bizId);
}
public SingleResponse<String> signValidCode(String mobile, String validCode) {
String bizId = cn.hutool.core.lang.UUID.fastUUID().toString();
public SingleResponse<String> signValidCode(String bizId, String validCode) {
Object code = redisService.get(bizId);
if (code == null) {
throw new BizException(SMS_CODE_EXPIRED);