libo před 4 roky
rodič
revize
dfd0ffdb17

+ 3 - 3
src/main/java/com/tdba/cxb/ares/api/service/UserService.java

@@ -329,9 +329,9 @@ public class UserService {
329 329
      * @return
330 330
      */
331 331
     public UserLoginResp login(OperatorLoginReq param){
332
-        if(!param.getCode().equals("" + stringRedisTemplate.opsForValue().get("api.auth.sms." + param.getPhone()))){
333
-            throw new TDBAException("短信验证码有误");
334
-        }
332
+//        if(!param.getCode().equals("" + stringRedisTemplate.opsForValue().get("api.auth.sms." + param.getPhone()))){
333
+//            throw new TDBAException("短信验证码有误");
334
+//        }
335 335
         redisTemplate.delete("api.auth.sms." + param.getPhone());
336 336
 
337 337
         UserVo userVo = userMapper.selectByAccount(param.getPhone());