SHOW FULL COLUMNS FROM `zl_user_token` [ RunTime:0.000569s ]
SELECT `b`.* FROM `zl_user_token` `a` INNER JOIN `zl_user` `b` ON `a`.`user_id`=`b`.`user_id` WHERE `token` IS NULL AND `device_type` = 'pc' LIMIT 1 [ RunTime:0.000463s ]
SHOW FULL COLUMNS FROM `zl_class` [ RunTime:0.000568s ]
SELECT `parentclass` FROM `zl_class` WHERE `classid` = 86 LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `zl_class` WHERE `classid` IN (5,79,86) AND `classid` <> 5 ORDER BY field(classid,5,79,86) [ RunTime:0.000359s ]
SELECT `classname` FROM `zl_class` WHERE `classid` = 86 LIMIT 1 [ RunTime:0.000239s ]
SHOW FULL COLUMNS FROM `zl_portal` [ RunTime:0.000580s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `zl_portal` `p` INNER JOIN `zl_class` `c` ON `c`.`classid`=`p`.`classid` WHERE ( `c`.`classid` = '86' OR `c`.`parentclass` LIKE '%|86|%' ) AND `onshow` = 1 GROUP BY `p`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.000442s ]
SELECT `id`,`p`.`classid`,`c`.`classname`,`p`.`title`,`titlepic`,`newstext`,`price`,`buyfen`,`newstime`,`p`.`onclick` FROM `zl_portal` `p` INNER JOIN `zl_class` `c` ON `c`.`classid`=`p`.`classid` WHERE ( `c`.`classid` = '86' OR `c`.`parentclass` LIKE '%|86|%' ) AND `onshow` = 1 GROUP BY `p`.`id` ORDER BY `newstime` DESC,`isgood` DESC,`firsttitle` DESC,`p`.`onclick` DESC LIMIT 0,20 [ RunTime:0.000638s ]