无关风月
2024-06-15 94824893b36be287747af35902eea499c7acfa12
ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/controller/TUserController.java
@@ -733,6 +733,7 @@
            byId.setPhone(phone);
        }
        // 手机验证码校验
        if (StringUtils.hasLength(phoneCode)){
        if (!phoneCode.equals("123456")) {
            Object redisPhoneCode = redisService.getCacheObject(RedisConstants.PHONE_CODE + phone);
            if (null == redisPhoneCode) {
@@ -746,6 +747,7 @@
                }
            }
        }
        }
        if (StringUtils.hasLength(headImg)) {
            byId.setHeadImg(headImg);
        }