SELECT * FROM `hao_domain` WHERE `host` = 'nwbook.com' LIMIT 1 [ RunTime:0.000700s ]
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` = '32' LIMIT 1 [ RunTime:0.000495s ]
SELECT * FROM `hao_domain_cate` WHERE `domain_id` = 1 AND `cate_id` = 32 LIMIT 1 [ RunTime:0.000546s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 32 [ RunTime:0.000319s ]
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` = '32' AND `v`.`vod_status` = '1' ORDER BY `w`.`watch_time` DESC LIMIT 1 [ RunTime:0.015283s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 0 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000433s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000352s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 2 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000385s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 3 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000374s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 4 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000386s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 5 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000331s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 32 [ RunTime:0.000293s ]
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` = '32' AND `vod_status` = 1 [ RunTime:0.007608s ]
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` = '32' AND `vod_status` = 1 ORDER BY `v`.`vod_time` DESC LIMIT 0,36 [ RunTime:0.006033s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 4 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000540s ]