Showing
1 changed file
with
6 additions
and
1 deletions
@@ -59,9 +59,10 @@ class PayController extends AbstractAction | @@ -59,9 +59,10 @@ class PayController extends AbstractAction | ||
59 | break; | 59 | break; |
60 | } | 60 | } |
61 | 61 | ||
62 | + //锁单接口 | ||
62 | $paymentId = $this->get('payment_type', 0); | 63 | $paymentId = $this->get('payment_type', 0); |
63 | $prePayInfo = CartData::savePrePayInfo($uid, $orderCode, $paymentId); | 64 | $prePayInfo = CartData::savePrePayInfo($uid, $orderCode, $paymentId); |
64 | - UdpLog::info("【锁订单接口】,orderCode:{$orderCode}", array('orderDetail' => $orderDetail, 'prePayInfo' => $prePayInfo)); | 65 | + UdpLog::info("【锁订单接口】,orderCode:{$orderCode}", array('prePayInfo' => $prePayInfo)); |
65 | 66 | ||
66 | $totalFee = $orderDetail['data']['payment_amount'] * 100; | 67 | $totalFee = $orderDetail['data']['payment_amount'] * 100; |
67 | $reqParams = new AliwapReqparams($orderCode, $totalFee, '有货订单号:' . $orderCode, '', $orderDetail['data']['create_time'], '', false); | 68 | $reqParams = new AliwapReqparams($orderCode, $totalFee, '有货订单号:' . $orderCode, '', $orderDetail['data']['create_time'], '', false); |
@@ -125,6 +126,10 @@ class PayController extends AbstractAction | @@ -125,6 +126,10 @@ class PayController extends AbstractAction | ||
125 | break; | 126 | break; |
126 | } | 127 | } |
127 | 128 | ||
129 | + //锁单接口 | ||
130 | + $prePayInfo = CartData::savePrePayInfo($uid, $orderCode, 22); | ||
131 | + UdpLog::info("【微信锁订单接口】,orderCode:{$orderCode}", array('prePayInfo' => $prePayInfo)); | ||
132 | + | ||
128 | //统一下单 | 133 | //统一下单 |
129 | $tools = new JsApiPay(); | 134 | $tools = new JsApiPay(); |
130 | $input = new WxPayUnifiedOrder(); | 135 | $input = new WxPayUnifiedOrder(); |
-
Please register or login to post a comment