|
@@ -333,10 +333,24 @@ class BookController extends BaseController
|
|
|
}
|
|
|
|
|
|
// 默认
|
|
|
- $bids = [11601, 11529, 3365, 10377, 11457, 8102, 6464, 7287, 2563, 10419];
|
|
|
+ $bids = [1479, 11766, 12705, 9990, 9479, 8148, 9423, 7629, 9997, 8482];
|
|
|
if ($sex === 2) {
|
|
|
- $bids = [10823, 10479, 10467, 10139, 9990, 9973, 9479, 9423, 1148, 8693, 8497, 8148, 8129, 7857, 7854, 7629, 7362, 5748, 5362, 4811, 4470, 4135, 3759, 3696, 3418, 3401, 3369, 2698, 1634, 1479];
|
|
|
+ $bids = [8469, 11660, 9117, 7891, 12281, 12470, 8167, 11661, 11670, 8476, 8557, 11662,
|
|
|
+ 11680, 11926, 12462, 7836, 11681, 11664, 11928, 8631];
|
|
|
}
|
|
|
+ /**
|
|
|
+ * SELECT
|
|
|
+ CONCAT( books.id, ',' )
|
|
|
+ FROM
|
|
|
+ books
|
|
|
+ LEFT JOIN book_configs ON books.id = book_configs.bid
|
|
|
+ WHERE
|
|
|
+ book_configs.is_on_shelf = 1
|
|
|
+ AND books.category_id IN ( SELECT id FROM book_categories WHERE pid = 2 )
|
|
|
+ ORDER BY
|
|
|
+ book_configs.recommend_index DESC
|
|
|
+ LIMIT 10;
|
|
|
+ */
|
|
|
|
|
|
// 根据包名、平台、版本号判断是否审核
|
|
|
$package = $request->header('x-package', '');
|