Showing
1 changed file
with
5 additions
and
1 deletions
@@ -202,8 +202,12 @@ class HomeModel | @@ -202,8 +202,12 @@ 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=1,3 | ||
206 | + if($channel == self::COOKIE_NAME_BOYS) { | ||
207 | + $params['gender'] = '1,3'; | ||
208 | + } | ||
205 | //女首频道最新上架参数是gender=2,3 | 209 | //女首频道最新上架参数是gender=2,3 |
206 | - if($channel == self::COOKIE_NAME_GIRLS) { | 210 | + else if($channel == self::COOKIE_NAME_GIRLS) { |
207 | $params['gender'] = '2,3'; | 211 | $params['gender'] = '2,3'; |
208 | } | 212 | } |
209 | // 最新上架分类 | 213 | // 最新上架分类 |
-
Please register or login to post a comment