Explorar el Código

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

This reverts commit 08aeac24820e88637796a3a001673fdeedd0cabc.
ldz hace 3 meses
padre
commit
fbf0e5d429

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

@@ -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());