Showing
1 changed file
with
4 additions
and
0 deletions
@@ -202,6 +202,10 @@ class HomeModel | @@ -202,6 +202,10 @@ class HomeModel | ||
202 | 'order' => 's_t_desc', | 202 | 'order' => 's_t_desc', |
203 | 'shelve_time' => strtotime("-60 days") . ',' . time() | 203 | 'shelve_time' => strtotime("-60 days") . ',' . time() |
204 | ); | 204 | ); |
205 | + //女首频道最新上架参数是gender=2,3 | ||
206 | + if($channel == self::COOKIE_NAME_GIRLS) { | ||
207 | + $params['gender'] = '2,3'; | ||
208 | + } | ||
205 | // 最新上架分类 | 209 | // 最新上架分类 |
206 | if (isset(ChannelConfig::$newArrivalSortList[$channel])) { | 210 | if (isset(ChannelConfig::$newArrivalSortList[$channel])) { |
207 | $sortList = ChannelConfig::$newArrivalSortList[$channel]; | 211 | $sortList = ChannelConfig::$newArrivalSortList[$channel]; |
-
Please register or login to post a comment