[ DB ] CONNECT:[ UseTime:0.000650s ] mysql:host=127.0.0.1;dbname=dbyl173_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ww_category` [ RunTime:0.001139s ]
[ SQL ] SELECT `id`,`name`,`type`,`flag`,`pid`,`image`,`nickname`,`url`,`diyname` FROM `ww_category` ORDER BY `weigh` DESC,`id` DESC [ RunTime:0.000925s ]
[ SQL ] SHOW COLUMNS FROM `ww_taglist` [ RunTime:0.000983s ]
[ SQL ] SELECT * FROM `ww_taglist` WHERE `id` = 2 AND `status` = 'normal' LIMIT 1 [ RunTime:0.000693s ]
[ SQL ] SHOW COLUMNS FROM `ww_news` [ RunTime:0.001081s ]
[ SQL ] SHOW COLUMNS FROM `ww_tag` [ RunTime:0.000925s ]
[ SQL ] SHOW COLUMNS FROM `ww_videotcpe` [ RunTime:0.001056s ]
[ SQL ] SHOW COLUMNS FROM `ww_highlights` [ RunTime:0.001043s ]
[ SQL ] SHOW COLUMNS FROM `ww_video` [ RunTime:0.001048s ]
[ SQL ] SHOW COLUMNS FROM `ww_live` [ RunTime:0.000974s ]
[ SQL ] SELECT `d`.*,`c`.`diyname` FROM ( SELECT `id`,`title`,`image`,matchdatetime as createtime,`category_id`,`seo_description`,'直播' as source FROM `ww_live` WHERE `id` IN ( SELECT `app_id` FROM `ww_tag` WHERE `tag_id` = 2 AND `type` = 'live' ) UNION ( ( SELECT `id`,`title`,`image`,`createtime`,`category_id`,`seo_description`,'资讯' as source FROM `ww_news` WHERE `id` IN ( SELECT `app_id` FROM `ww_tag` WHERE `tag_id` = 2 AND `type` = 'news' ) ) ) UNION ( ( SELECT `id`,`title`,`image`,`createtime`,`category_id`,`seo_description`,'录像' as source FROM `ww_videotcpe` WHERE `id` IN ( SELECT `app_id` FROM `ww_tag` WHERE `tag_id` = 2 AND `type` = 'videotcpe' ) ) ) UNION ( ( SELECT `id`,`title`,`image`,`createtime`,`category_id`,`seo_description`,'集锦' as source FROM `ww_highlights` WHERE `id` IN ( SELECT `app_id` FROM `ww_tag` WHERE `tag_id` = 2 AND `type` = 'highlights' ) ) ) UNION ( ( SELECT `id`,`title`,`image`,`createtime`,`category_id`,`seo_description`,'视频' as source FROM `ww_video` WHERE `id` IN ( SELECT `app_id` FROM `ww_tag` WHERE `tag_id` = 2 AND `type` = 'video' ) ) ) ) as d LEFT JOIN `ww_category` `c` ON `d`.`category_id`=`c`.`id` ORDER BY `d`.`id` DESC LIMIT 3150,15 [ RunTime:0.001663s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description`,`category_id` FROM `ww_videotcpe` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000592s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description` FROM `ww_news` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000508s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description`,`category_id` FROM `ww_highlights` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000441s ]
[ SQL ] SHOW COLUMNS FROM `ww_search` [ RunTime:0.000747s ]
[ SQL ] SELECT `a`.`id`,`a`.`title` FROM `ww_search` `a` INNER JOIN ( SELECT `id` FROM `ww_search` ORDER BY rand() LIMIT 25 ) `tmp` ON `a`.`id`=`tmp`.`id` WHERE `status` = 'normal' [ RunTime:0.000555s ]
[ SQL ] UPDATE `ww_taglist` SET `views`=`views`+1 WHERE `id` = 2 [ RunTime:0.001287s ]