|
|
@@ -566,6 +566,10 @@ class OrderController extends BaseController
|
|
|
$post = Yii::$app->request->post();
|
|
|
$payWay = isset($post['payWay']) ? $post['payWay'] : 0;
|
|
|
$shopId = $this->shopId;
|
|
|
+ $shop = $this->shop;
|
|
|
+ if (empty($shop)) {
|
|
|
+ util::fail('没有门店信息');
|
|
|
+ }
|
|
|
|
|
|
$ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
$gatheringItem = !empty($ext) ? $ext->gatheringItem : 0;
|