|
@@ -30,7 +30,8 @@ class UserShelfBooks extends Model
|
|
|
->join('books','user_shelf_books.bid','=','books.id')
|
|
|
->select('book_configs.cover','book_configs.book_name','user_shelf_books.bid',
|
|
|
'user_shelf_books.distribution_channel_id','user_shelf_books.bid','user_shelf_books.id',
|
|
|
- 'user_shelf_books.uid','user_shelf_books.updated_at','books.first_cid','books.last_cid as last_cid'
|
|
|
+ 'user_shelf_books.uid','user_shelf_books.updated_at','books.first_cid','books.last_cid as last_cid',
|
|
|
+ 'books.intro','books.author','books.size','books.status'
|
|
|
)->orderBy('user_shelf_books.id','desc');
|
|
|
|
|
|
if($is_all)
|