Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m35s
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m35s
This commit is contained in:
commit
7376a7a9be
@ -14,6 +14,9 @@ public class RemoteVisitoreGetCodeInfo implements RemoteVisitoreGetCodeInfoServi
|
||||
@Override
|
||||
public String getCodeInfo(String code) {
|
||||
QrCodeInfo info = RedisUtils.getCacheObject(GlobalConstants.CAPTCHA_CODE_KEY +"Qrcode" +code);
|
||||
if (info == null){
|
||||
return "";
|
||||
}
|
||||
return info.getUserid().toString();
|
||||
}
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ public class SysOssController extends BaseController {
|
||||
}
|
||||
String codeInfo = remoteVisitoreGetCodeInfoService.getCodeInfo(code);
|
||||
// QrCodeInfo info = RedisUtils.getCacheObject(GlobalConstants.CAPTCHA_CODE_KEY+"Qrcode" + code);
|
||||
if (codeInfo.isBlank()){
|
||||
if (codeInfo.isEmpty()){
|
||||
return R.fail("二维码已过期");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user