浏览代码

代支付流程

whitefang 2 年之前
父节点
当前提交
e4cf05678c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/common/logic/PaymentLogic.php

+ 1 - 1
app/common/logic/PaymentLogic.php

@@ -208,6 +208,7 @@ class PaymentLogic extends BaseLogic
                 $order['pay_sn'] = $paySn;
                 $order['pay_sn'] = $paySn;
                 $order['redirect_url'] = $redirectUrl;
                 $order['redirect_url'] = $redirectUrl;
                 $result = $payService->pay($from, $order);
                 $result = $payService->pay($from, $order);
+                dd($result);
                 break;
                 break;
             default:
             default:
                 self::$error = '订单异常';
                 self::$error = '订单异常';
@@ -217,7 +218,6 @@ class PaymentLogic extends BaseLogic
         if (false === $result && !self::hasError()) {
         if (false === $result && !self::hasError()) {
             self::setError($payService->getError());
             self::setError($payService->getError());
         }
         }
-        dd($result);
         $result['need_pay'] = 1;
         $result['need_pay'] = 1;
         return $result;
         return $result;
     }
     }