|
|
@@ -326,7 +326,7 @@ public class UserService {
|
|
326
|
326
|
* @return
|
|
327
|
327
|
*/
|
|
328
|
328
|
public UserLoginResp login(OperatorLoginReq param){
|
|
329
|
|
- if(!param.getCode().equals(redisTemplate.opsForValue().get("api.auth.sms." + param.getMobile()))){
|
|
|
329
|
+ if(!param.getCode().equals("" + redisTemplate.opsForValue().get("api.auth.sms." + param.getMobile()))){
|
|
330
|
330
|
throw new TDBAException("短信验证码有误");
|
|
331
|
331
|
}
|
|
332
|
332
|
redisTemplate.delete("api.auth.sms." + param.getMobile());
|