员工登录状态校验
This commit is contained in:
@@ -110,6 +110,11 @@ public class AuthorizationController {
|
||||
if (isManage != null && isManage != 1) {
|
||||
throw new BadRequestException("该账号无权限登录,请联系管理员");
|
||||
}
|
||||
|
||||
Integer status = tbPlussShopStaff.getStatus();
|
||||
if (status != null && status != 1) {
|
||||
throw new BadRequestException("该账号已被禁用,请联系管理员");
|
||||
}
|
||||
}
|
||||
TbShopInfo byAccount = tbShopInfoRepository.findById(Integer.valueOf(tbPlussShopStaff.getShopId())).get();
|
||||
//校验商户商户激活是否到期(未激活)
|
||||
|
||||
Reference in New Issue
Block a user