@@ -45,11 +45,7 @@ class BaseController extends PublicController
}
$this->user = $user;
- $shopId = Yii::$app->request->get('account', 0);
- if(empty($shopId)){
- //兼容早期代码,勿删,扫码付款页也用到
- $shopId = Yii::$app->request->post('account', 0);
- }
+ $shopId = Yii::$app->request->get('account');
if (!empty($shopId)) {
$this->shopId = $shopId;
$shop = ShopClass::getById($shopId, true);
@@ -570,7 +570,6 @@ class OrderController extends BaseController
if (empty($shop)) {
util::fail('没有门店信息');
-
$ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
$gatheringItem = !empty($ext) ? $ext->gatheringItem : 0;
if (empty($gatheringItem)) {