fllmoyu преди 4 години
родител
ревизия
222bd38219
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      web/src/main/java/com/jpsoft/enterprise/modules/mobile/controller/PersonInfoApiController.java

+ 1 - 1
web/src/main/java/com/jpsoft/enterprise/modules/mobile/controller/PersonInfoApiController.java

@@ -221,7 +221,7 @@ public class PersonInfoApiController {
             if (personInfo == null) {
                 throw new Exception("用户不存在");
             }
-            String smsKey = "SMS_" + personInfo.getId();
+            String smsKey = "SMS_" + phone;
 
             String beforeVerifyCode = (String) valueOperations.get(smsKey);