|
|
@@ -46,6 +46,10 @@ class BaseController extends PublicController
|
|
|
}
|
|
|
$this->user = $user;
|
|
|
$shopId = Yii::$app->request->get('account', 0);
|
|
|
+ if(empty($shopId)){
|
|
|
+ //兼容早期代码,勿删,扫码付款页也用到
|
|
|
+ $shopId = Yii::$app->request->post('account', 0);
|
|
|
+ }
|
|
|
if (!empty($shopId)) {
|
|
|
$this->shopId = $shopId;
|
|
|
$shop = ShopClass::getById($shopId, true);
|
|
|
@@ -57,7 +61,7 @@ class BaseController extends PublicController
|
|
|
$this->mainId = $mainId;
|
|
|
$hdId = Yii::$app->request->get('hdId', 0);
|
|
|
if (empty($hdId)) {
|
|
|
- //兼容早期代码只写POST方式
|
|
|
+ //兼容早期代码,勿删,扫码付款页也用到,只写POST方式
|
|
|
$hdId = Yii::$app->request->post('hdId', 0);
|
|
|
}
|
|
|
if (!empty($hdId)) {
|