修改配置文件
This commit is contained in:
+8
-8
@@ -48,7 +48,7 @@ public class SyncIamByCheryController {
|
||||
private SyncIamService syncIamService;
|
||||
|
||||
@PostMapping({"/SchemaService"})
|
||||
public String schemaService(HttpServletRequest req) {
|
||||
public synchronized String schemaService(HttpServletRequest req) {
|
||||
String reqMap = this.syncIamService.getStringObjectMap(req);
|
||||
IamCommonAcceptDto commonAcceptDto = JSON.parseObject(reqMap, IamCommonAcceptDto.class);
|
||||
// 校验身份认证,确保接口正确 必须调用!
|
||||
@@ -59,7 +59,7 @@ public class SyncIamByCheryController {
|
||||
}
|
||||
|
||||
@PostMapping({"/UserCreateService"})
|
||||
public String userCreateService(HttpServletRequest req) {
|
||||
public synchronized String userCreateService(HttpServletRequest req) {
|
||||
log.info("进入账号创建");
|
||||
IamUserAcceptDto userAcceptDto;
|
||||
IamUserCreateResponse iamUserCreateResponse = new IamUserCreateResponse();
|
||||
@@ -85,7 +85,7 @@ public class SyncIamByCheryController {
|
||||
}
|
||||
|
||||
@PostMapping({"/UserUpdateService"})
|
||||
public String userUpdateService(HttpServletRequest req){
|
||||
public synchronized String userUpdateService(HttpServletRequest req){
|
||||
IamUserCreateResponse iamUserCreateResponse = new IamUserCreateResponse();
|
||||
try {
|
||||
String reqMap = this.syncIamService.getStringObjectMap(req);
|
||||
@@ -113,7 +113,7 @@ public class SyncIamByCheryController {
|
||||
}
|
||||
|
||||
@PostMapping({"/UserDeleteService"})
|
||||
public String userDeleteService(HttpServletRequest req) {
|
||||
public synchronized String userDeleteService(HttpServletRequest req) {
|
||||
IamCommonResponseDto iamCommonResponseDto = new IamCommonResponseDto();
|
||||
try {
|
||||
String reqMap = this.syncIamService.getStringObjectMap(req);
|
||||
@@ -144,7 +144,7 @@ public class SyncIamByCheryController {
|
||||
*/
|
||||
@PostMapping({"/OrgCreateService"})
|
||||
@CacheEvict(value= {CacheConstant.SYS_DEPARTS_CACHE,CacheConstant.SYS_DEPART_IDS_CACHE}, allEntries=true)
|
||||
public String orgCreateService(HttpServletRequest req) {
|
||||
public synchronized String orgCreateService(HttpServletRequest req) {
|
||||
IamOrgAcceptDto orgAcceptDto = null;
|
||||
IamOrgCreateResponse iamOrgCreateResponse = new IamOrgCreateResponse();
|
||||
try {
|
||||
@@ -179,7 +179,7 @@ public class SyncIamByCheryController {
|
||||
*/
|
||||
@PostMapping({"/OrgUpdateService"})
|
||||
@CacheEvict(value= {CacheConstant.SYS_DEPARTS_CACHE,CacheConstant.SYS_DEPART_IDS_CACHE}, allEntries=true)
|
||||
public String orgUpdateService(HttpServletRequest req) {
|
||||
public synchronized String orgUpdateService(HttpServletRequest req) {
|
||||
IamCommonResponseDto iamCommonResponseDto = new IamCommonResponseDto();
|
||||
try {
|
||||
String reqMap = this.syncIamService.getStringObjectMap(req);
|
||||
@@ -197,7 +197,7 @@ public class SyncIamByCheryController {
|
||||
|
||||
@PostMapping({"/OrgDeleteService"})
|
||||
@CacheEvict(value= {CacheConstant.SYS_DEPARTS_CACHE,CacheConstant.SYS_DEPART_IDS_CACHE}, allEntries=true)
|
||||
public String orgDeleteService(HttpServletRequest req) {
|
||||
public synchronized String orgDeleteService(HttpServletRequest req) {
|
||||
IamCommonResponseDto iamCommonResponseDto = new IamCommonResponseDto();
|
||||
try {
|
||||
String reqMap = this.syncIamService.getStringObjectMap(req);
|
||||
@@ -219,7 +219,7 @@ public class SyncIamByCheryController {
|
||||
* 通过type字段来区分
|
||||
*/
|
||||
@PostMapping({"/bpmcCreate"})
|
||||
public SendPoEncryptPo bpmcCreate(@RequestBody AcceptDecryptPo acceptDecryptPo) throws JsonProcessingException {
|
||||
public synchronized SendPoEncryptPo bpmcCreate(@RequestBody AcceptDecryptPo acceptDecryptPo) throws JsonProcessingException {
|
||||
if (acceptDecryptPo == null
|
||||
|| acceptDecryptPo.getMessageDecryptTabels() == null
|
||||
|| acceptDecryptPo.getMessageDecryptTabels().getHeader() == null){
|
||||
|
||||
Reference in New Issue
Block a user