Browse Source

advertise

tusx 5 năm trước cách đây
mục cha
commit
ed68ba13ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/Wap/Book/RedBookController.php

+ 1 - 1
app/Http/Controllers/Wap/Book/RedBookController.php

@@ -36,7 +36,7 @@ class RedBookController extends BaseController
         }
 
         $detail = DB::table('red_books')->where('id',$id)->first();
-        return response()->success($detail);
+        return response()->success(json_decode(json_encode($detail),true));
     }
 
     public function getChapterList(Request $request) {