lishiyeaaron il y a 5 ans
Parent
commit
d055fcb36f
1 fichiers modifiés avec 10 ajouts et 10 suppressions
  1. 10 10
      app/Http/Controllers/QuickApp/User/UserShelfBooksController.php

+ 10 - 10
app/Http/Controllers/QuickApp/User/UserShelfBooksController.php

@@ -80,16 +80,16 @@ class UserShelfBooksController extends BaseController
         if($res->isEmpty()){
             return response()->success();
         }
-//        $record = ReadRecordService::getReadRecord($this->uid);
-        $record=array([
-            'bid'=>1,
-            'time'=>3,
-            'cid'=>1,
-        ],[
-            'bid'=>2,
-            'time'=>3,
-            'cid'=>4,
-        ]);
+        $record = ReadRecordService::getReadRecord($this->uid);
+//        $record=array([
+//            'bid'=>1,
+//            'time'=>3,
+//            'cid'=>1,
+//        ],[
+//            'bid'=>2,
+//            'time'=>3,
+//            'cid'=>4,
+//        ]);
         foreach ($res as &$v){
             $bid=$v['bid'];
             $last_cid = $v['last_cid'];