Browse Source

app 手册

shish 4 years ago
parent
commit
7501e9a347
1 changed files with 1 additions and 1 deletions
  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;