|
@@ -1249,6 +1249,6 @@ class BookConfig extends Model
|
|
|
public static function getSimpleBooksByIds($bids)
|
|
|
{
|
|
|
$fields = ['book_name','bid','cover'];
|
|
|
- return self::select($fields)->whereIn('bid',$bids)->where('is_on_shelf',2)->order('id','desc')->get();
|
|
|
+ return self::select($fields)->whereIn('bid',$bids)->where('is_on_shelf',2)->orderBy('id','desc')->get();
|
|
|
}
|
|
|
}
|