Commit dcba0d19 authored by alex yao's avatar alex yao

fix: 中台异常报错显示

parent fef499ee
......@@ -10,6 +10,7 @@ import cn.com.poc.thirdparty.resource.demand.dgTools.request.ProjectTokenRequest
import cn.com.poc.thirdparty.resource.demand.dgTools.result.AbstractResult;
import cn.com.poc.thirdparty.resource.demand.dgTools.result.DgtoolsApiResult;
import cn.com.poc.thirdparty.resource.demand.dgTools.utils.AesEncodeUtil;
import cn.com.yict.framemax.core.exception.BusinessException;
import cn.com.yict.framemax.core.i18n.I18nMessageException;
import cn.com.yict.framemax.data.model.PagingInfo;
import cn.com.yict.framemax.frame.service.FmxParamConfigService;
......@@ -129,7 +130,7 @@ public class DgtoolsAbstractHttpClient {
if (!dgtoolsApiResult.isSuccess()) {
//调用服务超时 2000毫秒
throw new I18nMessageException(dgtoolsApiResult.getMessage());
throw new BusinessException(dgtoolsApiResult.getMessage());
}
if (dgtoolsApiResult.getPagingInfo() != null) {
pagingInfo.setTotalRows(dgtoolsApiResult.getPagingInfo().getTotalRows());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment