|
|
|
@ -5674,7 +5674,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
try {
|
|
|
|
|
Element responseElement = resultElement.element("response").element("alipay");
|
|
|
|
|
if (!StringUtils.equalsIgnoreCase("SUCCESS", responseElement.elementText("result_code"))) {
|
|
|
|
|
throw new BadRequestException(responseElement.elementText("result_code"));
|
|
|
|
|
throw new BadRequestException(responseElement.elementText("result_code") +
|
|
|
|
|
":" + responseElement.elementText("reject_reason"));
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
throw new ServerErrorException(e);
|
|
|
|
@ -5694,7 +5695,10 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
return "查询成功:" + resultElement.elementText("error");
|
|
|
|
|
}
|
|
|
|
|
Element responseElement = resultElement.element("response").element("alipay");
|
|
|
|
|
return "查询成功:" + responseElement.elementText("secondary_merchant_id") + "报备状态 : " + responseElement.elementText("status");
|
|
|
|
|
String rejectReason = responseElement.elementText("reject_reason");
|
|
|
|
|
return "查询成功:" + responseElement.elementText("secondary_merchant_id") +
|
|
|
|
|
"报备状态:" + responseElement.elementText("status") + StringUtils.defaultString(rejectReason, "");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -5798,7 +5802,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
try {
|
|
|
|
|
Element responseElement = resultElement.element("response").element("alipay");
|
|
|
|
|
if (!StringUtils.equalsIgnoreCase("SUCCESS", responseElement.elementText("result_code"))) {
|
|
|
|
|
throw new BadRequestException(responseElement.elementText("result_code"));
|
|
|
|
|
throw new BadRequestException(responseElement.elementText("result_code") +
|
|
|
|
|
":" + responseElement.elementText("reject_reason"));
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
throw new ServerErrorException(e);
|
|
|
|
@ -5842,7 +5847,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
return "查询成功:" + resultElement.elementText("error");
|
|
|
|
|
}
|
|
|
|
|
Element responseElement = resultElement.element("response").element("alipay");
|
|
|
|
|
return "查询成功:" + responseElement.elementText("secondary_merchant_id") + "报备状态 : " + responseElement.elementText("status");
|
|
|
|
|
String rejectReason = responseElement.elementText("reject_reason");
|
|
|
|
|
return "查询成功:" + responseElement.elementText("secondary_merchant_id") +
|
|
|
|
|
"报备状态:" + responseElement.elementText("status") + StringUtils.defaultString(rejectReason, "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|