瀏覽代碼

配合前端暂时注释掉第三方返回的问题

ldz 3 月之前
父節點
當前提交
08aeac2482

+ 4 - 2
alien-lawyer/src/main/java/shop/alien/lawyer/payment/impl/AlipayPaymentStrategyImpl.java

@@ -252,9 +252,11 @@ 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());