auth
parent
3014eef505
commit
2a80c8f524
|
|
@ -50,6 +50,9 @@ public class QualFilingExpertExecutor implements QualFilingExpertApi {
|
|||
|
||||
@Value("${auth.roleCode.expert}")
|
||||
private String authRoleCodeExpert;
|
||||
@Value("${auth.roleId.expert}")
|
||||
private Long authRoleIdExpert;
|
||||
|
||||
|
||||
@Value("${def.password:a123456}")
|
||||
private String defPassword;
|
||||
|
|
@ -91,6 +94,7 @@ public class QualFilingExpertExecutor implements QualFilingExpertApi {
|
|||
userAddCmd.setPassword(encrypt);
|
||||
|
||||
RoleDeptAddCmd roleDept = new RoleDeptAddCmd();
|
||||
roleDept.setRoleId(authRoleIdExpert);
|
||||
roleDept.setRoleCode(authRoleCodeExpert);
|
||||
roleDept.setDeptId(expertDeptId);
|
||||
userAddCmd.setRoleDepts(Collections.singletonList(roleDept));
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ auth:
|
|||
expert: 2084222682296930304
|
||||
roleId:
|
||||
org: 2074857068268802050
|
||||
expert: 2084179239013109761
|
||||
roleCode:
|
||||
expert: expert001
|
||||
org: org001
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ auth:
|
|||
expert: 2084222682296930304
|
||||
roleId:
|
||||
org: 2069671307598893058
|
||||
expert: 2084179239013109761
|
||||
roleCode:
|
||||
expert: expert001
|
||||
org: org001
|
||||
|
|
|
|||
Loading…
Reference in New Issue