fly 4 년 전
부모
커밋
9ddf13d663
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      app/Http/Controllers/QuickApp/Book/BookController.php

+ 3 - 2
app/Http/Controllers/QuickApp/Book/BookController.php

@@ -212,8 +212,9 @@ class BookController extends BaseController
             }
         }
         $key = $request->input('key');
-        if ($key && isset($this->uid) && $this->uid) {
-            BookConfigService::saveUserSearchLog($key, $this->uid);
+        $uid = $request->input('uid', 0);
+        if ($key && $uid) {
+            BookConfigService::saveUserSearchLog($key, $uid);
         }
         $where['key'] = $key;
         $order_field = $request->input('order_field');