Authored by yangyang

修改数据格式

... ... @@ -15,7 +15,7 @@ use LibModels\Wap\Index\IndexData;
*/
class IndexModel
{
public function getChannel(){
public static function getChannel(){
$result = array();
$result['showYohood'] = true;
... ... @@ -27,6 +27,7 @@ class IndexModel
switch ($value['channel_id']) {
case 5:
$result['showYohood'] = true;
$result['yohoodHref'] = '/yohood';
break;
case 1:
$channelList[$key]['href'] = '/boys';
... ...