SELECT * FROM `hao_domain` WHERE `host` = 'nwbook.com' LIMIT 1 [ RunTime:0.000641s ]
SELECT `c1`.*,c2.id as topId,c2. name as topName FROM `hao_video_cate` `c1` LEFT JOIN `hao_video_cate` `c2` ON `c2`.`id`=`c1`.`pid` WHERE `c1`.`id` = '24' LIMIT 1 [ RunTime:0.000750s ]
SELECT * FROM `hao_domain_cate` WHERE `domain_id` = 1 AND `cate_id` = 24 LIMIT 1 [ RunTime:0.000787s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 24 [ RunTime:0.000407s ]
SELECT `v`.*,`w`.`watch_time` FROM `hao_video` `v` LEFT JOIN `hao_video_watch1` `w` ON `w`.`video_id`=`v`.`id` WHERE `v`.`type_id` = '24' AND `v`.`vod_status` = '1' ORDER BY `w`.`watch_time` DESC LIMIT 1 [ RunTime:0.008701s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 0 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000981s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000478s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 2 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000412s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 3 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000381s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 4 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000381s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 5 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000380s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 24 [ RunTime:0.000424s ]
SELECT COUNT(*) AS think_count FROM `hao_video` `v` LEFT JOIN `hao_video_watch1` `w` ON `w`.`video_id`=`v`.`id` WHERE `v`.`type_id` = '24' AND `vod_status` = 1 [ RunTime:0.005230s ]
SELECT `v`.*,`w`.`watch_id`,w. watch_view,w. watch_time FROM `hao_video` `v` LEFT JOIN `hao_video_watch1` `w` ON `w`.`video_id`=`v`.`id` WHERE `v`.`type_id` = '24' AND `vod_status` = 1 ORDER BY `v`.`vod_time` DESC LIMIT 0,36 [ RunTime:0.010504s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 2 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.001295s ]