Commit 4d9f8fcd73bc3296db40ef876c9a5eaced97d7e9

Authored by wangqian
2 parents 063d3c4b e899a720

Merge branch 'master' into dev

urbanops-module-system/src/main/java/com/zteits/urbanops/module/system/service/auth/AdminAuthServiceImpl.java
... ... @@ -129,7 +129,8 @@ public class AdminAuthServiceImpl implements AdminAuthService {
129 129 }
130 130  
131 131 // 登录场景,验证是否存在
132   - if (userService.getUserByMobile(reqVO.getMobile()) == null) {
  132 + AdminUserDO userByMobile = userService.getUserByMobile(reqVO.getMobile());
  133 + if (userByMobile == null || CommonStatusEnum.isDisable(userByMobile.getStatus())) {
133 134 throw exception(AUTH_MOBILE_NOT_EXISTS);
134 135 }
135 136 // 发送验证码
... ...
urbanops-server/src/main/resources/application.yaml
... ... @@ -328,7 +328,7 @@ urbanops:
328 328 expire-times: 10m
329 329 send-frequency: 1m
330 330 send-maximum-quantity-per-day: 10
331   - begin-code: 9999 # 这里配置 9999 的原因是,测试方便。
  331 + begin-code: 0000 # 这里配置 9999 的原因是,测试方便。
332 332 end-code: 9999 # 这里配置 9999 的原因是,测试方便。
333 333 trade:
334 334 order:
... ...