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