|
|
@@ -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());
|