|
|
@@ -162,7 +162,7 @@ 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['payWay'] = 0;
|
|
|
$post['mainId'] = $this->mainId ?? 0;
|
|
|
$post['userId'] = $this->userId ?? 0;
|
|
|
|
|
|
@@ -321,7 +321,7 @@ class OrderController extends BaseController
|
|
|
$showAddress = $post['showAddress'] ?? '';
|
|
|
$userAddress = $city . $dist . $address . "({$showAddress})";
|
|
|
$main = $this->main;
|
|
|
-
|
|
|
+ $shop = $this->shop;
|
|
|
$shopLat = $shop->lat ?? '';
|
|
|
$shopLong = $shop->long ?? '';
|
|
|
if (empty($shopLat) || empty($shopLong)) {
|