|
@@ -85,7 +85,7 @@ public class AccountController {
|
|
|
throw new BaseException(BaseErrorEnum.USER_PASSWORD_ERROR);
|
|
|
|
|
|
if (!Arrays.asList(appLoginUserType).contains(user.getUserTypeId()))
|
|
|
- throw new BaseException(BaseErrorEnum.APP_LOGIN_ERROR);
|
|
|
+ throw new BaseException("10004","请使用驿站工作者账号登录!");
|
|
|
|
|
|
user.token = TokenUtils.sign(user.getUserId() + '|' + user.getUserTypeId());
|
|
|
user.dataRangeList = userService.getUserDataRange(user.getUserId());
|