|
|
@@ -252,11 +252,9 @@ public class AlipayPaymentStrategyImpl implements PaymentStrategy {
|
|
|
return R.success("交易完成");
|
|
|
}
|
|
|
return R.success("订单状态:" + tradeStatus);
|
|
|
+ } else {
|
|
|
+ return R.fail("订单查询失败:" + response.getMsg() + "(" + response.getSubMsg() + ")");
|
|
|
}
|
|
|
-// else {
|
|
|
-// return R.fail("订单查询失败:" + response.getMsg() + "(" + response.getSubMsg() + ")");
|
|
|
-// }
|
|
|
- return null;
|
|
|
} catch (AlipayApiException e) {
|
|
|
log.error("支付宝订单查询异常", e);
|
|
|
return R.fail("查询异常:" + e.getMessage());
|