Selaa lähdekoodia

1、新增各个终端短信登录接口;

zk 2 vuotta sitten
vanhempi
commit
20c1ae506d

+ 1 - 1
sckw-modules/sckw-fleet/src/main/java/com/sckw/fleet/service/KwfDriverService.java

@@ -583,7 +583,7 @@ public class KwfDriverService {
         }
 
         /**从缓存中取出验证码/校验**/
-        String valueKey = StringUtils.getKey(RedisConstant.MESSAGE_SMS_VERIFY_CODE_VALUE_KEY, params.getPhone());
+        String valueKey = StringUtils.format(RedisConstant.MESSAGE_SMS_VERIFY_CODE_VALUE_KEY, params.getPhone());
         String phoneCaptcha = RedissonUtils.getString(valueKey);
         if (StringUtils.isBlank(phoneCaptcha)) {
             return HttpResult.error("手机验证码不正确请确认!");