fly %!s(int64=4) %!d(string=hai) anos
pai
achega
9ddf13d663
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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');