do add cart data info debug
Showing
2 changed files
with
2 additions
and
1 deletions
@@ -349,6 +349,7 @@ class CartData | @@ -349,6 +349,7 @@ class CartData | ||
349 | public static function orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoiceTitle, $invoiceId, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin) | 349 | public static function orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoiceTitle, $invoiceId, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin) |
350 | { | 350 | { |
351 | $param = Yohobuy::param(); | 351 | $param = Yohobuy::param(); |
352 | + $param['debug'] = 'Y'; | ||
352 | $param['client_type'] = 'h5'; | 353 | $param['client_type'] = 'h5'; |
353 | $param['method'] = 'app.Shopping.submit'; | 354 | $param['method'] = 'app.Shopping.submit'; |
354 | $param['address_id'] = $addressId; | 355 | $param['address_id'] = $addressId; |
@@ -431,7 +431,7 @@ class IndexController extends AbstractAction | @@ -431,7 +431,7 @@ class IndexController extends AbstractAction | ||
431 | $this->setCookie('order-info', null); | 431 | $this->setCookie('order-info', null); |
432 | 432 | ||
433 | if ($uid) { | 433 | if ($uid) { |
434 | - UnionTrans::set($uid, $order_code, $order_amount); | 434 | + //UnionTrans::set($uid, $order_code, $order_amount); |
435 | } | 435 | } |
436 | 436 | ||
437 | $this->echoJson($result); | 437 | $this->echoJson($result); |
-
Please register or login to post a comment