shish 4 лет назад
Родитель
Сommit
7501e9a347
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/AuthController.php

+ 1 - 1
app-ghs/controllers/AuthController.php

@@ -316,7 +316,7 @@ class AuthController extends PublicController
         $apiHost = Yii::$app->params['ghsHost'];
         $imgUploadApi = $apiHost . '/upload/save-file';
         //使用手册
-        $cacheKey = 'close_book_' . $this->shopAdminId;
+        $cacheKey = 'close_book_' . $shopAdminId;
         $hasClose = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
         $showBook = !empty($hasClose) ? 0 : 1;