[ DB ] CONNECT:[ UseTime:0.000335s ] mysql:host=127.0.0.1;dbname=app;charset=utf8
[ SQL ] SHOW COLUMNS FROM `wt_site_goods` [ RunTime:0.000842s ]
[ 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.000207s ]
[ SQL ] SHOW COLUMNS FROM `wt_site_goods_class` [ RunTime:0.000510s ]
[ SQL ] SELECT `id`,`class_name` FROM `wt_site_goods_class` WHERE `pclass_id` < 1 AND `site_id` = 1047 ORDER BY `sort` DESC [ RunTime:0.000161s ]
[ SQL ] SHOW COLUMNS FROM `wt_site_art_class` [ RunTime:0.000486s ]
[ SQL ] SELECT `class_name`,`id`,`keywords`,`description` FROM `wt_site_art_class` WHERE `id` = 612 AND `site_id` = 1047 [ RunTime:0.000127s ]
[ SQL ] SELECT `id`,`class_name`,`keywords`,`description` FROM `wt_site_art_class` WHERE `pclass_id` = 612 AND `site_id` = 1047 [ RunTime:0.000099s ]
[ SQL ] SHOW COLUMNS FROM `wt_site_art` [ RunTime:0.000550s ]
[ SQL ] SELECT `a`.`id`,`a`.`art_name`,`a`.`thumb` FROM `wt_site_art` `a` LEFT JOIN `wt_site_art_class` `ac` ON `a`.`class_id`=`ac`.`id` LEFT JOIN `wt_site_art_class` `acb` ON `ac`.`pclass_id`=`acb`.`id` WHERE `a`.`site_id` = '1047' AND `acb`.`id` = '612' AND `hot` = 1 ORDER BY `a`.`sort` DESC,`a`.`id` DESC LIMIT 0,3 [ RunTime:0.000148s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `wt_site_art` `a` LEFT JOIN `wt_site_art_class` `ac` ON `a`.`class_id`=`ac`.`id` LEFT JOIN `wt_site_art_class` `acb` ON `ac`.`pclass_id`=`acb`.`id` WHERE `a`.`site_id` = '1047' AND `acb`.`id` = '612' AND `ac`.`id` = '616' LIMIT 1 [ RunTime:0.000147s ]
[ SQL ] SELECT `a`.`id`,`a`.`art_name`,`a`.`thumb`,`a`.`add_time`,`a`.`content`,`a`.`type` FROM `wt_site_art` `a` LEFT JOIN `wt_site_art_class` `ac` ON `a`.`class_id`=`ac`.`id` LEFT JOIN `wt_site_art_class` `acb` ON `ac`.`pclass_id`=`acb`.`id` WHERE `a`.`site_id` = '1047' AND `acb`.`id` = '612' AND `ac`.`id` = '616' ORDER BY `a`.`sort` DESC,`a`.`id` DESC LIMIT 20,10 [ RunTime:0.050622s ]
[ SQL ] SELECT `c`.`goods_name`,`c`.`id` FROM wt_site_goods_class a LEFT JOIN `wt_site_goods_class` `b` ON `a`.`id`=`b`.`pclass_id` LEFT JOIN `wt_site_goods` `c` ON `c`.`class_id`=b.id and c.status=1 WHERE `a`.`site_id` = '1047' AND `a`.`id` = '462' ORDER BY `c`.`hit` DESC LIMIT 7 [ RunTime:0.000235s ]
[ SQL ] SHOW COLUMNS FROM `wt_site_question` [ RunTime:0.000526s ]
[ 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.000127s ]
[ SQL ] SELECT `c`.`id`,`c`.`art_name` FROM wt_site_art_class as a LEFT JOIN `wt_site_art_class` `b` ON `a`.`id`=`b`.`pclass_id` LEFT JOIN `wt_site_art` `c` ON `b`.`id`=c.class_id and c.status >=1 WHERE `a`.`site_id` = '1047' AND `a`.`id` = '612' ORDER BY `c`.`hit` DESC LIMIT 10 [ RunTime:0.000135s ]