作者 邓超

优化

@@ -150,7 +150,7 @@ class Home extends Base { @@ -150,7 +150,7 @@ class Home extends Base {
150 $us = []; 150 $us = [];
151 foreach ($uids as $k=>$uid){ 151 foreach ($uids as $k=>$uid){
152 if(!isset($us[intval($k/100)])) $us[intval($k/100)] = []; 152 if(!isset($us[intval($k/100)])) $us[intval($k/100)] = [];
153 - $us[intval($k/100)][] = $uid; 153 + $us[intval($k/100)][] = trim($uid);
154 } 154 }
155 155
156 foreach ($us as $u){ 156 foreach ($us as $u){