|
@@ -424,11 +424,11 @@ public class MESDataServiceImpl implements MESDataService {
|
|
|
String accessSecret = accessSecret_O == null ? "" : accessSecret_O.toString();
|
|
|
// 检查KEY是否合理
|
|
|
if (StringUtils.isEmpty(accessKey) || StringUtils.isEmpty(accessSecret) || AE_MASTER== null || "".equals(AE_MASTER.toString())) {
|
|
|
- /*ApiResult apiResult = new ApiResult();
|
|
|
+ ApiResult apiResult = new ApiResult();
|
|
|
apiResult.setCode(ErrorMessage.ACCESSKEY_ILLEGAL.getCode());
|
|
|
apiResult.setMessage(ErrorMessage.ACCESSKEY_ILLEGAL.getMessage());
|
|
|
apiResult.setRequestId(requestId);
|
|
|
- throw new ApiSystemException(apiResult);*/
|
|
|
+ throw new ApiSystemException(apiResult);
|
|
|
}
|
|
|
return AE_MASTER.toString();
|
|
|
}
|