fllmoyu 4 éve
szülő
commit
222bd38219

+ 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);