SELECT * FROM `hao_domain` WHERE `host` = 'nwbook.com' LIMIT 1 [ RunTime:0.000405s ]
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` = '5' LIMIT 1 [ RunTime:0.000478s ]
SELECT * FROM `hao_domain_cate` WHERE `domain_id` = 1 AND `cate_id` = 5 LIMIT 1 [ RunTime:0.000482s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 5 [ RunTime:0.000313s ]
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` = '5' AND `v`.`vod_status` = '1' ORDER BY `w`.`watch_time` DESC LIMIT 1 [ RunTime:0.042806s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 0 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000595s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000443s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 2 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000368s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 3 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000356s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 4 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000378s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 5 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000346s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 5 [ RunTime:0.000310s ]
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` = '5' AND `vod_status` = 1 [ RunTime:0.022459s ]
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` = '5' AND `vod_status` = 1 ORDER BY `v`.`vod_time` DESC LIMIT 0,36 [ RunTime:0.005078s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 5 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000448s ]