|
|
@@ -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);
|