|
|
@@ -216,6 +216,9 @@ public class ApCheckServiceImpl implements ApCheckService {
|
|
|
if (e instanceof HttpServerErrorException){
|
|
|
HttpServerErrorException httpServerErrorException = (HttpServerErrorException) e;
|
|
|
String responseText = httpServerErrorException.getResponseBodyAsString();
|
|
|
+ if (responseText.startsWith("无法对账!(该客户未对您启用B2B对账")) {
|
|
|
+ responseText = "无法对账!该客户未对您启用B2B对账,请让客户在“U企云服-UU设置”里获取UU后再进行对账。";
|
|
|
+ }
|
|
|
throw new BizException(80000, responseText);
|
|
|
}else {
|
|
|
throw new BizException(80000, e.getMessage());
|