|
|
@@ -30,7 +30,6 @@ class BaseController extends PublicController
|
|
|
|
|
|
$sjId = 0;
|
|
|
if (in_array($action->id, $this->guestAccess) == false){
|
|
|
-
|
|
|
$header = httpUtil::getHeader();
|
|
|
$shopId = isset($header['account']) ? $header['account'] : 0;
|
|
|
if (empty($shopId)) {
|
|
|
@@ -53,7 +52,6 @@ class BaseController extends PublicController
|
|
|
$this->shopId = $shopId;
|
|
|
$this->shop = $shop;
|
|
|
$this->sjExtend = MerchantExtendService::getByMerchantId($sjId);
|
|
|
-
|
|
|
}
|
|
|
|
|
|
$this->isWx = util::isWx();
|
|
|
@@ -71,7 +69,7 @@ class BaseController extends PublicController
|
|
|
if (in_array($action->id, $this->guestAccess) == false) {
|
|
|
$custom = CustomClass::getCurrentCustom($sjId, $userInfo);
|
|
|
if (empty($custom)) {
|
|
|
- util::fail('没有找到客户');
|
|
|
+ util::fail('客户信息无效');
|
|
|
}
|
|
|
$this->custom = $custom;
|
|
|
$customId = $custom['id'] ?? 0;
|