|
@@ -36,7 +36,7 @@ class RedBookController extends BaseController
|
|
}
|
|
}
|
|
|
|
|
|
$detail = DB::table('red_books')->where('id',$id)->first();
|
|
$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) {
|
|
public function getChapterList(Request $request) {
|