|
|
@@ -3,7 +3,6 @@
|
|
|
namespace business\controllers;
|
|
|
|
|
|
use biz\merchant\services\AdminService;
|
|
|
-use biz\merchant\services\MerchantAssetService;
|
|
|
use biz\merchant\services\MerchantExtendService;
|
|
|
use biz\merchant\services\MerchantService;
|
|
|
use common\components\httpUtil;
|
|
|
@@ -14,7 +13,7 @@ use common\components\util;
|
|
|
class BaseController extends PublicController
|
|
|
{
|
|
|
public $admin, $adminId, $adminAvatar, $account;
|
|
|
- public $merchantId = 0, $merchantName, $merchant, $merchantExtend, $merchantAsset, $merchantLogo, $signPackage;
|
|
|
+ public $merchantId = 0, $merchantName, $merchant, $merchantExtend, $merchantLogo, $signPackage;
|
|
|
public $openMerchant, $openMerchantId;
|
|
|
public $appId;
|
|
|
public $isWx = false;
|
|
|
@@ -58,13 +57,11 @@ class BaseController extends PublicController
|
|
|
}
|
|
|
$merchant = MerchantService::getMerchantById($merchantId);
|
|
|
$merchantExtend = MerchantExtendService::getByMerchantId($merchantId);
|
|
|
- $merchantAsset = MerchantAssetService::getByMerchantId($merchantId);
|
|
|
$this->admin = $admin;
|
|
|
$this->adminId = $adminId;
|
|
|
$this->merchantId = $merchantId;
|
|
|
$this->merchant = $merchant;
|
|
|
$this->merchantExtend = $merchantExtend;
|
|
|
- $this->merchantAsset = $merchantAsset;
|
|
|
return parent::beforeAction($action);
|
|
|
}
|
|
|
|