Explorar el Código

修改登录验证码 2468

魏熙美 hace 6 años
padre
commit
37d2450df4

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/common/code/ICode.java Ver fichero

@@ -30,7 +30,7 @@ public interface ICode {
30 30
     default void checkPhoneAndCode(String phone,String code) {
31 31
         checkPhone(phone);
32 32
         String phoneCode = (String) AppkeyCache.getCache(phone);
33
-        if ("1234".equals(code)) {
33
+        if ("2468".equals(code)) {
34 34
 
35 35
         }else if (StringUtils.isBlank(phoneCode)) {
36 36
             throw new WisdomException("请输入验证码!");

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaVistorServiceImpl.java Ver fichero

@@ -153,7 +153,7 @@ public class TaVistorServiceImpl implements TaVistorServiceI {
153 153
             map.put("visitorEndTime",visitor.getVisitorEndTime());
154 154
             map.put("drivingStatus",visitor.getDrivingStatus());
155 155
             map.put("payEntity",visitor.getPayEntity());
156
-            map.put("unitMapList", unitMapList);
156
+            map.put("unitList", unitMapList);
157 157
 
158 158
             // 把访问码存入
159 159
             visitor.setVisitorCode(visitorCode);

+ 1
- 1
CODE/smart-community/operate-api/src/main/java/com/community/huiju/service/impl/ToUserServerImpl.java Ver fichero

@@ -57,7 +57,7 @@ public class ToUserServerImpl implements IToUserService {
57 57
 
58 58
         ResponseBean response = new ResponseBean();
59 59
         String phoneCode = (String) AppkeyCache.getCache(loginName);
60
-        if ("1234".equals(code)) {
60
+        if ("2468".equals(code)) {
61 61
 
62 62
         } else if (StringUtils.isBlank(phoneCode) || !phoneCode.equals(code)) {
63 63
             response.addError("验证码错误");

+ 1
- 1
CODE/smart-community/property-api/src/main/java/com/community/huiju/common/code/ICode.java Ver fichero

@@ -29,7 +29,7 @@ public interface ICode {
29 29
     default void checkPhoneAndCode(String phone,String code) {
30 30
         checkPhone(phone);
31 31
         String phoneCode = (String) AppkeyCache.getCache(phone);
32
-        if ("1234".equals(code)) {
32
+        if ("2468".equals(code)) {
33 33
 
34 34
         }else if (StringUtils.isBlank(phoneCode) || !phoneCode.equals(code)) {
35 35
             throw new WisdomException("请输入验证码!");

+ 1
- 1
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/UserServiceImpl.java Ver fichero

@@ -177,7 +177,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
177 177
             throw new WisdomException("请输入正确的手机号!");
178 178
         }
179 179
         String phoneCode = (String) AppkeyCache.getCache(phone);
180
-        if ("1234".equals(code)) {
180
+        if ("2468".equals(code)) {
181 181
 
182 182
         } else if (StringUtils.isBlank(phoneCode) || !phoneCode.equals(code)) {
183 183
             throw new WisdomException("验证码错误!");