|
|
@@ -41,8 +41,9 @@ class BaseController extends PublicController
|
|
|
$this->user = $user;
|
|
|
$this->isWx = util::isWx();
|
|
|
|
|
|
- $header = httpUtil::getHeader();
|
|
|
- $shopId = isset($header['account']) ? $header['account'] : 0;
|
|
|
+ //$header = httpUtil::getHeader();
|
|
|
+ //$shopId = isset($header['account']) ? $header['account'] : 0;
|
|
|
+ $shopId = Yii::$app->request->get('account', 0);
|
|
|
$this->shopId = $shopId;
|
|
|
if (!empty($shopId)) {
|
|
|
$shop = ShopClass::getById($shopId, true);
|