code review by hf: merge zhangzhen code to fixes home floor bugs
Showing
1 changed file
with
2 additions
and
1 deletions
@@ -9,6 +9,7 @@ use Plugin\Helpers; | @@ -9,6 +9,7 @@ use Plugin\Helpers; | ||
9 | */ | 9 | */ |
10 | class FloorProcess | 10 | class FloorProcess |
11 | { | 11 | { |
12 | + | ||
12 | /** | 13 | /** |
13 | * 频道参数 | 14 | * 频道参数 |
14 | * | 15 | * |
@@ -207,7 +208,7 @@ class FloorProcess | @@ -207,7 +208,7 @@ class FloorProcess | ||
207 | foreach ($data['list'] as &$one) { | 208 | foreach ($data['list'] as &$one) { |
208 | if (isset($one['url'])) { | 209 | if (isset($one['url'])) { |
209 | $one['url'] = Helpers::getFilterUrl($one['url']); | 210 | $one['url'] = Helpers::getFilterUrl($one['url']); |
210 | - isset(self::$channel[$type]) && $one['url'] .= '?gender='.self::$channel[$type]; | 211 | + isset(self::$channel[$type]) && $one['url'] .= '?gender=' . self::$channel[$type]; |
211 | } | 212 | } |
212 | $one['img'] = Helpers::getImageUrl($one['src'], 158, 174); | 213 | $one['img'] = Helpers::getImageUrl($one['src'], 158, 174); |
213 | unset($one['src']); | 214 | unset($one['src']); |
-
Please register or login to post a comment