SHOW FULL COLUMNS FROM `zl_user_token` [ RunTime:0.000678s ]
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.000550s ]
SHOW FULL COLUMNS FROM `zl_class` [ RunTime:0.000597s ]
SELECT `parentclass` FROM `zl_class` WHERE `classid` = 57 LIMIT 1 [ RunTime:0.000449s ]
SELECT * FROM `zl_class` WHERE `classid` IN (5,47,57) AND `classid` <> 5 ORDER BY field(classid,5,47,57) [ RunTime:0.000525s ]
SELECT `classname` FROM `zl_class` WHERE `classid` = 57 LIMIT 1 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `zl_portal` [ RunTime:0.000587s ]
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` = '57' OR `c`.`parentclass` LIKE '%|57|%' ) AND `onshow` = 1 GROUP BY `p`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.000574s ]
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` = '57' OR `c`.`parentclass` LIKE '%|57|%' ) AND `onshow` = 1 GROUP BY `p`.`id` ORDER BY `newstime` DESC,`isgood` DESC,`firsttitle` DESC,`p`.`onclick` DESC LIMIT 0,20 [ RunTime:0.000717s ]