|
@@ -97,7 +97,8 @@ public class ServiceAuthBusinessImpl implements IServiceAuthBusiness {
|
|
|
//校验应用和服务是否存在
|
|
|
ApplyInfo applyInfo = applyInfoFacade.getAppByCode(dto.getAppCode());
|
|
|
if (applyInfo == null) {
|
|
|
- return ResponseDTO.fail(ResponseStatus.FAIL_CODE,String.format("应用代码 %s 不存在", dto.getAppCode()),null);
|
|
|
+ return ResponseDTO.fail(
|
|
|
+ ResponseStatus.FAIL_CODE,String.format("应用代码 %s 不存在", dto.getAppCode()),null);
|
|
|
}
|
|
|
String serviceCodes = dto.getServiceCodes();
|
|
|
String[] serviceCodArray = serviceCodes.split(StrUtil.COMMA);
|
|
@@ -107,7 +108,6 @@ public class ServiceAuthBusinessImpl implements IServiceAuthBusiness {
|
|
|
return ResponseDTO.fail(ResponseStatus.FAIL_CODE ,String.format("服务代码 %s 不存在", serviceCode),null);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
String flowStatus = WorkFlowStatusEnum.APPLYING.getValue();
|
|
|
//生成消息id
|
|
|
dto.setMessageId(UUIDUtils.getUUID());
|