|
|
@@ -42,12 +42,12 @@ class BaseController extends PublicController
|
|
|
$shopId = Yii::$app->redis->executeCommand('GET', ['LOGIN_ADMIN_SHOP' . $adminId]);
|
|
|
//取不到门店id可能被清缓存,需要重新登陆,$shopId = 0 则表示非管理员,没有关联的门店,只可以访问官网
|
|
|
if (is_numeric($shopId) == false) {
|
|
|
- util::notLogin('请重新进行登陆');
|
|
|
+ util::notLogin('登陆已失效,请重新登陆');
|
|
|
}
|
|
|
if (!empty($shopId)) {
|
|
|
$shop = ShopService::getById($shopId);
|
|
|
if (empty($shop)) {
|
|
|
- util::fail('您所管理的门店已经失踪了');
|
|
|
+ util::fail('您所管理的门店已经跑到月球上去了');
|
|
|
}
|
|
|
$merchantId = $shop['merchantId'];
|
|
|
$merchant = MerchantService::getMerchantById($merchantId);
|