|
@@ -636,7 +636,9 @@ class BookController extends BaseController
|
|
|
$bid = array_random($bid,4);
|
|
|
}
|
|
|
$orderRecord = ChapterOrderService::hasUserRecord($user->uid);
|
|
|
- if($orderRecord && count($bid) > 4){
|
|
|
+
|
|
|
+ // if($orderRecord && count($bid) >= 4){
|
|
|
+ if( count($bid) >= 4){
|
|
|
$where = ['is_on_shelf' => [1,2],'bids' => $bid];
|
|
|
// $books = BookConfigService::getBooksByIds($bid,[],false);
|
|
|
$books = BookConfigService::getBookLists($where,[],false);
|