[ DB ] CONNECT:[ UseTime:0.000782s ] mysql:host=127.0.0.1;dbname=dbyl173_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ww_category` [ RunTime:0.001266s ]
[ SQL ] SELECT `id`,`name`,`type`,`flag`,`pid`,`image`,`nickname`,`url`,`diyname` FROM `ww_category` ORDER BY `weigh` DESC,`id` DESC [ RunTime:0.000973s ]
[ SQL ] SHOW COLUMNS FROM `ww_taglist` [ RunTime:0.000986s ]
[ SQL ] SELECT * FROM `ww_taglist` WHERE `id` = 54 AND `status` = 'normal' LIMIT 1 [ RunTime:0.000713s ]
[ SQL ] SHOW COLUMNS FROM `ww_news` [ RunTime:0.000984s ]
[ SQL ] SHOW COLUMNS FROM `ww_tag` [ RunTime:0.000933s ]
[ SQL ] SHOW COLUMNS FROM `ww_videotcpe` [ RunTime:0.001061s ]
[ SQL ] SHOW COLUMNS FROM `ww_highlights` [ RunTime:0.001083s ]
[ SQL ] SHOW COLUMNS FROM `ww_video` [ RunTime:0.001055s ]
[ SQL ] SHOW COLUMNS FROM `ww_live` [ RunTime:0.001073s ]
[ 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` = 54 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` = 54 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` = 54 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` = 54 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` = 54 AND `type` = 'video' ) ) ) ) as d LEFT JOIN `ww_category` `c` ON `d`.`category_id`=`c`.`id` ORDER BY `d`.`id` DESC LIMIT 15,15 [ RunTime:0.001954s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description`,`category_id` FROM `ww_videotcpe` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000625s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description` FROM `ww_news` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000621s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description`,`category_id` FROM `ww_highlights` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000638s ]
[ SQL ] SHOW COLUMNS FROM `ww_search` [ RunTime:0.000839s ]
[ 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.000701s ]
[ SQL ] UPDATE `ww_taglist` SET `views`=`views`+1 WHERE `id` = 54 [ RunTime:0.001524s ]