|
|
@@ -53,12 +53,12 @@ public class LifeUserController {
|
|
|
|
|
|
// 2025-11-04 验证码-用户端登录
|
|
|
String cacheCode = baseRedisService.getString("verification_user_login_" + phoneNum);
|
|
|
-// if (null == cacheCode) {
|
|
|
-// return R.fail("当前验证码过期或未发送");
|
|
|
-// }
|
|
|
-// if (!cacheCode.trim().equals(code.trim())) {
|
|
|
-// return R.fail("验证码错误");
|
|
|
-// }
|
|
|
+ if (null == cacheCode) {
|
|
|
+ return R.fail("当前验证码过期或未发送");
|
|
|
+ }
|
|
|
+ if (!cacheCode.trim().equals(code.trim())) {
|
|
|
+ return R.fail("验证码错误");
|
|
|
+ }
|
|
|
|
|
|
if(StringUtils.isNotBlank(inviteCode)){
|
|
|
String bindResult = activityInviteConfigService.bindInviteCode(userVo.getId(), inviteCode);
|