新增超级金币代理和超级管理员
This commit is contained in:
parent
11ad83f80b
commit
a7f723befa
@ -37,6 +37,8 @@ public class UserIdentityServiceImpl implements UserIdentityService {
|
|||||||
.setAnchor(Objects.nonNull(teamMember))
|
.setAnchor(Objects.nonNull(teamMember))
|
||||||
.setBd(ResponseAssert.requiredSuccess(bdTeamInfoClient.check(userId)))
|
.setBd(ResponseAssert.requiredSuccess(bdTeamInfoClient.check(userId)))
|
||||||
.setFreightAgent(ResponseAssert.requiredSuccess(freightGoldClient.checkFreightAgent(userId)))
|
.setFreightAgent(ResponseAssert.requiredSuccess(freightGoldClient.checkFreightAgent(userId)))
|
||||||
|
.setSuperFreightAgent(ResponseAssert.requiredSuccess(freightGoldClient.checkSuperFreightAgent(userId)))
|
||||||
|
.setSuperAdmin(administratorService.existsSupperAdmin(userId))
|
||||||
.setAdmin(administratorService.existsAdmin(userId));
|
.setAdmin(administratorService.existsAdmin(userId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -39,11 +39,21 @@ public class UserIdentityVO implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private Boolean freightAgent;
|
private Boolean freightAgent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 超级货运代理
|
||||||
|
*/
|
||||||
|
private Boolean superFreightAgent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否管理员
|
* 是否管理员
|
||||||
*/
|
*/
|
||||||
private Boolean admin;
|
private Boolean admin;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否超级管理员
|
||||||
|
*/
|
||||||
|
private Boolean superAdmin;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 历史身份.
|
* 历史身份.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user