|
|
@@ -83,7 +83,12 @@ class ConsoleController extends BaseController
|
|
|
//是否已经提醒小程序名称变更
|
|
|
$cacheKey = 'change_mini_name_remind_' . $this->shopAdminId;
|
|
|
$hasRemindChangeAppName = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
- $hasRemindChangeAppName = !empty($hasRemindChangeAppName) ? 1 : 0;
|
|
|
+ $hasRemindChange = 1;
|
|
|
+ if (empty($hasRemindChangeAppName)) {
|
|
|
+ if (!empty($this->shopAdminId)) {
|
|
|
+ $hasRemindChange = 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
util::success([
|
|
|
'asset' => $this->main,
|
|
|
@@ -91,7 +96,7 @@ class ConsoleController extends BaseController
|
|
|
'todayData' => $todayData,
|
|
|
'visitStat' => $visitStat,
|
|
|
'incomeStat' => $incomeStat,
|
|
|
- 'hasRemindChangeAppName' => $hasRemindChangeAppName,
|
|
|
+ 'hasRemindChangeAppName' => $hasRemindChange,
|
|
|
]);
|
|
|
}
|
|
|
|