|
|
@@ -89,11 +89,6 @@ class AuthController extends PublicController
|
|
|
$shopAdmin->save();
|
|
|
$shopAdminId = $shopAdmin->id ?? 0;
|
|
|
|
|
|
- //是否已经提醒小程序名称变更
|
|
|
- $cacheKey = 'change_mini_name_remind_' . $shopAdminId;
|
|
|
- $hasRemindChangeAppName = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
- $hasRemindChangeAppName = !empty($hasRemindChangeAppName) ? 1 : 0;
|
|
|
-
|
|
|
//是否有切换门店的权限
|
|
|
$switchShop = \biz\shop\classes\ShopAdminClass::hasSwitchShopRight($shopAdmin);
|
|
|
$prefix = imgUtil::getPrefix();
|
|
|
@@ -122,7 +117,6 @@ class AuthController extends PublicController
|
|
|
'imgUploadApi' => $imgUploadApi,
|
|
|
//有小程序新版本提示更新
|
|
|
'update' => $remind,
|
|
|
- 'hasRemindChangeAppName' => $hasRemindChangeAppName,
|
|
|
]);
|
|
|
}
|
|
|
|
|
|
@@ -493,11 +487,6 @@ class AuthController extends PublicController
|
|
|
$shopAdmin->save();
|
|
|
$shopAdminId = $shopAdmin->id ?? 0;
|
|
|
|
|
|
- //是否已经提醒小程序名称变更
|
|
|
- $cacheKey = 'change_mini_name_remind_' . $shopAdminId;
|
|
|
- $hasRemindChangeAppName = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
- $hasRemindChangeAppName = !empty($hasRemindChangeAppName) ? 1 : 0;
|
|
|
-
|
|
|
//是否有切换门店的权限
|
|
|
$switchShop = \biz\shop\classes\ShopAdminClass::hasSwitchShopRight($shopAdmin);
|
|
|
$prefix = imgUtil::getPrefix();
|
|
|
@@ -527,7 +516,6 @@ class AuthController extends PublicController
|
|
|
'imgUploadApi' => $imgUploadApi,
|
|
|
//有小程序新版本提示更新
|
|
|
'update' => $remind,
|
|
|
- 'hasRemindChangeAppName' => $hasRemindChangeAppName,
|
|
|
]);
|
|
|
}
|
|
|
|