shish 4 years ago
parent
commit
16d1bd5ba4
2 changed files with 0 additions and 2 deletions
  1. 0 1
      app-hd/controllers/OrderController.php
  2. 0 1
      biz-hd/order/services/OrderService.php

+ 0 - 1
app-hd/controllers/OrderController.php

@@ -325,7 +325,6 @@ class OrderController extends BaseController
         $post = Yii::$app->request->post();
         $post['sjId'] = $this->sjId;
         $post['shopId'] = $this->shopId;
-        $post['payWay'] = $this->isWx == true ? 0 : 1;
         $post['mainId'] = $this->mainId ?? 0;
         $now = time();
         $orderValidTime = getenv('ORDER_VALID_TIME') == false ? 600 : getenv('ORDER_VALID_TIME');

+ 0 - 1
biz-hd/order/services/OrderService.php

@@ -30,7 +30,6 @@ class OrderService extends BaseService
     public static function createFinishOrder($data, $custom, $hasPay = 1)
     {
         $payWay = $data['payWay'] ?? dict::getDict('payWay', 'wxPay');
-
         $orderSn = orderSn::getOrderSn();
         $customId = $custom['id'] ?? 0;
         $hdId = $custom['hdId'] ?? 0;