[ DB ] CONNECT:[ UseTime:0.000762s ] mysql:host=127.0.0.1;dbname=dbyl173_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ww_category` [ RunTime:0.001263s ]
[ SQL ] SELECT `id`,`name`,`type`,`flag`,`pid`,`image`,`nickname`,`url`,`diyname` FROM `ww_category` ORDER BY `weigh` DESC,`id` DESC [ RunTime:0.000938s ]
[ SQL ] SHOW COLUMNS FROM `ww_taglist` [ RunTime:0.001001s ]
[ SQL ] SELECT * FROM `ww_taglist` WHERE `id` = 231 AND `status` = 'normal' LIMIT 1 [ RunTime:0.000701s ]
[ SQL ] SHOW COLUMNS FROM `ww_news` [ RunTime:0.001051s ]
[ SQL ] SHOW COLUMNS FROM `ww_tag` [ RunTime:0.000900s ]
[ SQL ] SHOW COLUMNS FROM `ww_videotcpe` [ RunTime:0.000947s ]
[ SQL ] SHOW COLUMNS FROM `ww_highlights` [ RunTime:0.001060s ]
[ SQL ] SHOW COLUMNS FROM `ww_video` [ RunTime:0.001023s ]
[ SQL ] SHOW COLUMNS FROM `ww_live` [ RunTime:0.001103s ]
[ SQL ] SELECT COUNT(*) AS tp_count 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` = 231 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` = 231 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` = 231 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` = 231 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` = 231 AND `type` = 'video' ) ) ) ) as d LIMIT 1 [ RunTime:0.001989s ]
[ 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` = 231 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` = 231 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` = 231 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` = 231 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` = 231 AND `type` = 'video' ) ) ) ) as d LEFT JOIN `ww_category` `c` ON `d`.`category_id`=`c`.`id` ORDER BY `d`.`id` DESC LIMIT 0,15 [ RunTime:0.002063s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description`,`category_id` FROM `ww_videotcpe` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000614s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description` FROM `ww_news` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000618s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description`,`category_id` FROM `ww_highlights` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000564s ]
[ SQL ] SELECT `a`.`id`,`a`.`name` FROM `ww_taglist` `a` INNER JOIN ( SELECT `id` FROM `ww_taglist` ORDER BY rand() LIMIT 25 ) `tmp` ON `a`.`id`=`tmp`.`id` WHERE `status` = 'normal' [ RunTime:0.001402s ]
[ SQL ] SHOW COLUMNS FROM `ww_search` [ RunTime:0.000753s ]
[ 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.000636s ]
[ SQL ] UPDATE `ww_taglist` SET `views`=`views`+1 WHERE `id` = 231 [ RunTime:0.001453s ]