no message
This commit is contained in:
parent
fa1e15dde4
commit
47c4cf462b
@ -233,7 +233,10 @@ public class BackendLoginController extends BaseController {
|
||||
if (ObjectUtil.isEmpty(one.getOwnerId())) {
|
||||
one.setOwnerId(-1); //设置为普通员工并进行跳转
|
||||
}
|
||||
response.setDutyRoleCode(roleById.getRoleCode());
|
||||
if (ObjectUtils.isNotEmpty(roleById) && ObjectUtils.isNotEmpty(roleById.getRoleCode())) {
|
||||
response.setDutyRoleCode(roleById.getRoleCode());
|
||||
|
||||
}
|
||||
response.setOwnerId(one.getOwnerId().toString());
|
||||
response.setTokenCreatedTime(new Date());
|
||||
return getSuccessResult(response);
|
||||
|
Loading…
Reference in New Issue
Block a user