[ DB ] CONNECT:[ UseTime:0.000785s ] mysql:host=127.0.0.1;dbname=dbyl173_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ww_category` [ RunTime:0.001272s ]
[ SQL ] SELECT `id`,`name`,`type`,`flag`,`pid`,`image`,`nickname`,`url`,`diyname` FROM `ww_category` ORDER BY `weigh` DESC,`id` DESC [ RunTime:0.001003s ]
[ SQL ] SHOW COLUMNS FROM `ww_taglist` [ RunTime:0.000998s ]
[ SQL ] SELECT * FROM `ww_taglist` WHERE `id` = 99 AND `status` = 'normal' LIMIT 1 [ RunTime:0.000604s ]
[ SQL ] SHOW COLUMNS FROM `ww_news` [ RunTime:0.001096s ]
[ SQL ] SHOW COLUMNS FROM `ww_tag` [ RunTime:0.000953s ]
[ SQL ] SHOW COLUMNS FROM `ww_videotcpe` [ RunTime:0.000986s ]
[ SQL ] SHOW COLUMNS FROM `ww_highlights` [ RunTime:0.001076s ]
[ SQL ] SHOW COLUMNS FROM `ww_video` [ RunTime:0.001061s ]
[ SQL ] SHOW COLUMNS FROM `ww_live` [ RunTime:0.001117s ]
[ 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` = 99 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` = 99 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` = 99 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` = 99 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` = 99 AND `type` = 'video' ) ) ) ) as d LEFT JOIN `ww_category` `c` ON `d`.`category_id`=`c`.`id` ORDER BY `d`.`id` DESC LIMIT 135,15 [ RunTime:0.001675s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description`,`category_id` FROM `ww_videotcpe` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000545s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description` FROM `ww_news` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000678s ]
[ SQL ] SELECT `id`,`title`,`createtime`,`image`,`seo_description`,`category_id` FROM `ww_highlights` WHERE `status` = 'normal' ORDER BY `id` DESC LIMIT 6 [ RunTime:0.000623s ]
[ SQL ] SHOW COLUMNS FROM `ww_search` [ RunTime:0.000745s ]
[ 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.000655s ]
[ SQL ] UPDATE `ww_taglist` SET `views`=`views`+1 WHERE `id` = 99 [ RunTime:0.001310s ]