@@ -257,7 +257,8 @@ public class AlipayPaymentStrategyImpl implements PaymentStrategy {
}
} catch (AlipayApiException e) {
log.error("支付宝订单查询异常", e);
- return R.fail("查询异常:" + e.getMessage());
+// return R.fail("查询异常:" + e.getMessage());
+ return null ;
@@ -278,7 +278,8 @@ public class WeChatPaymentStrategyImpl implements PaymentStrategy {
return R.data(response);
} catch (WXPayUtility.ApiException e) {
log.error("查询微信支付订单状态失败,状态码:{},错误信息:{}", e.getErrorCode(), e.getMessage());
- return R.fail(e.getMessage());
+// return R.fail(e.getMessage());
+ return null;