[ DB ] CONNECT:[ UseTime:0.000338s ] mysql:host=127.0.0.1;dbname=app;charset=utf8
[ SQL ] SHOW COLUMNS FROM `wt_site_config` [ RunTime:0.000604s ]
[ SQL ] SELECT site_title as title,`keywords`,`description`,`site_logo` FROM `wt_site_config` WHERE `id` = 1047 LIMIT 1 [ RunTime:0.000169s ]
[ SQL ] SHOW COLUMNS FROM `wt_site_goods` [ RunTime:0.000711s ]
[ SQL ] SELECT `id`,`goods_name` FROM `wt_site_goods` WHERE `goods_name` IN ('小儿感冒推拿疗法视频') AND `status` = 1 AND `site_id` = 1047 ORDER BY `sort` DESC [ RunTime:0.000166s ]
[ SQL ] SHOW COLUMNS FROM `wt_site_goods_class` [ RunTime:0.000426s ]
[ SQL ] SELECT `id`,`class_name` FROM `wt_site_goods_class` WHERE `pclass_id` < 1 AND `site_id` = 1047 ORDER BY `sort` DESC [ RunTime:0.000113s ]
[ SQL ] SHOW COLUMNS FROM `wt_site_art` [ RunTime:0.000632s ]
[ SQL ] SELECT id,art_name,author,author_id,laud,add_time,content,description,keywords FROM `wt_site_art` WHERE `id` = 8943 AND `status` = 1 AND `site_id` = 1047 AND `status` = 1 LIMIT 1 [ RunTime:0.000223s ]
[ SQL ] UPDATE `wt_site_art` SET `hit` = hit+1 WHERE `site_id` = 1047 AND `id` = 8943 [ RunTime:0.000291s ]
[ SQL ] SELECT a.id as aid,`a`.`art_name`,b.id as bid,b.class_name as bn,c.id as cid,c.class_name as cn FROM wt_site_art as a LEFT JOIN `wt_site_art_class` `b` ON `a`.`class_id`=`b`.`id` LEFT JOIN `wt_site_art_class` `c` ON `b`.`pclass_id`=`c`.`id` WHERE `a`.`id` = '8943' AND `a`.`site_id` = '1047' LIMIT 1 [ RunTime:0.000258s ]
[ SQL ] SELECT `id`,`sort`,`class_id` FROM `wt_site_art` WHERE `id` = 8943 AND `status` = 1 AND `site_id` = 1047 AND `status` = 1 LIMIT 1 [ RunTime:0.000184s ]
[ SQL ] SELECT `id`,`art_name`,`sort` FROM `wt_site_art` WHERE `site_id` = 1047 AND `status` = 1 AND `class_id` = 617 AND `id` > 8943 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000256s ]
[ SQL ] SELECT `id`,`art_name`,`sort` FROM `wt_site_art` WHERE `site_id` = 1047 AND `status` = 1 AND `class_id` = 617 AND `id` < 8943 ORDER BY `sort` DESC LIMIT 1 [ RunTime:0.017875s ]
[ SQL ] SELECT `id`,`group_pic`,`goods_name` FROM `wt_site_goods` WHERE `id` = 3981 AND `site_id` = 1047 ORDER BY `sort` DESC LIMIT 1 [ RunTime:0.000166s ]
[ SQL ] SELECT `c`.`id` FROM wt_site_art as a LEFT JOIN `wt_site_art_class` `b` ON `a`.`class_id`=`b`.`id` LEFT JOIN `wt_site_art_class` `c` ON `b`.`pclass_id`=`c`.`id` WHERE `a`.`id` = '8943' AND `a`.`site_id` = '1047' LIMIT 1 [ RunTime:0.000241s ]
[ SQL ] SELECT `class_id` FROM `wt_site_art` WHERE `id` = 8943 AND `site_id` = 1047 AND `status` = 1 LIMIT 1 [ RunTime:0.000138s ]
[ SQL ] SELECT `art_name`,`id` FROM `wt_site_art` WHERE `site_id` = 1047 AND `class_id` = 617 ORDER BY `hit` DESC LIMIT 10 [ RunTime:0.048841s ]
[ SQL ] SELECT `art_name`,`id` FROM `wt_site_art` WHERE `site_id` = 1047 AND `class_id` = 617 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.032902s ]
[ SQL ] SHOW COLUMNS FROM `wt_site_question` [ RunTime:0.000608s ]
[ SQL ] SELECT `id`,`question` FROM `wt_site_question` WHERE `site_id` = 1047 AND `class_id` = 14 AND `status` = 1 ORDER BY `hit` DESC LIMIT 0,10 [ RunTime:0.000160s ]
[ SQL ] SELECT `id`,`question` FROM `wt_site_question` WHERE `site_id` = 1047 AND `class_id` = 14 AND `status` = 1 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000130s ]
[ SQL ] SELECT `laud` FROM `wt_site_art` WHERE `id` = 8943 LIMIT 1 [ RunTime:0.000162s ]