|
@@ -287,10 +287,10 @@ class BookController extends BaseController
|
|
|
$package = $request->header('x-package', '');
|
|
|
$checkOpen = env('CHECK_OPEN', false);
|
|
|
if ($checkOpen && $package === 'com.juyu.kuaiying.rmyq') {
|
|
|
- $hotBids = config('home.' . $sex . '.hot');
|
|
|
- $liveBids = config('home.' . $sex . '.live');
|
|
|
- $recomBids = config('home.' . $sex . '.recom');
|
|
|
- $newBids = config('home.' . $sex . '.new_recom');
|
|
|
+ $hotBids = config('home.hot.' . $sex);
|
|
|
+ $liveBids = config('home.live.' . $sex);
|
|
|
+ $recomBids = config('home.recom.' . $sex);
|
|
|
+ $newBids = config('home.new_recom.' . $sex);
|
|
|
} else {
|
|
|
$hotBids = RecommendService::getRecommendIdsStatic($channel, 'hot');
|
|
|
$liveBids = RecommendService::getRecommendIdsStatic($channel, 'live');
|