SELECT * FROM `hao_domain` WHERE `host` = 'nwbook.com' LIMIT 1 [ RunTime:0.000421s ]
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` = '10' LIMIT 1 [ RunTime:0.000423s ]
SELECT * FROM `hao_domain_cate` WHERE `domain_id` = 1 AND `cate_id` = 10 LIMIT 1 [ RunTime:0.000493s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 10 [ RunTime:0.000250s ]
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` = '10' AND `v`.`vod_status` = '1' ORDER BY `w`.`watch_time` DESC LIMIT 1 [ RunTime:0.007770s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 0 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000538s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000367s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 2 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000301s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 3 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000292s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 4 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000325s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 5 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000267s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 10 [ RunTime:0.000301s ]
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` = '10' AND `vod_status` = 1 [ RunTime:0.003847s ]
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` = '10' AND `vod_status` = 1 ORDER BY `v`.`vod_time` DESC LIMIT 0,36 [ RunTime:0.003160s ]
SELECT * FROM `hao_video_cate` WHERE `pid` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000418s ]