[ DB ] CONNECT:[ UseTime:0.000485s ] mysql:host=localhost;dbname=wuxijichuang;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ysm_config` [ RunTime:0.002417s ]
[ SQL ] SELECT `value` FROM `ysm_config` WHERE `key` = 'wapopen' LIMIT 1 [ RunTime:0.000333s ]
[ SQL ] SELECT `key`,`value` FROM `ysm_config` [ RunTime:0.000454s ]
[ SQL ] SHOW COLUMNS FROM `ysm_type` [ RunTime:0.002646s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `tid` = 6 LIMIT 1 [ RunTime:0.000466s ]
[ SQL ] SELECT `tid`,`t`.*,m.title as model_title FROM `ysm_type` `t` LEFT JOIN `ysm_model` `m` ON `t`.`mid`=`m`.`mid` ORDER BY `pid` ASC [ RunTime:0.003665s ]
[ SQL ] SHOW COLUMNS FROM `ysm_article` [ RunTime:0.001808s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ysm_article` `a` LEFT JOIN `ysm_type` `t` ON `a`.`tid`=`t`.`tid` LEFT JOIN `ysm_article_attr` `aa` ON `a`.`aid`=`aa`.`aid` LEFT JOIN `ysm_article_content` `ac` ON `a`.`aid`=`ac`.`aid` LEFT JOIN `ysm_article_type` `at` ON `a`.`aid`=`at`.`aid` WHERE `a`.`tid` IN (7,8,9,10,22,23,24,25,26,27,28,29,32,33,34,'6') [ RunTime:0.008386s ]
[ SQL ] SELECT `a`.*,`ac`.`content`,`aa`.*,t.title as type_title FROM `ysm_article` `a` LEFT JOIN `ysm_type` `t` ON `a`.`tid`=`t`.`tid` LEFT JOIN `ysm_article_attr` `aa` ON `a`.`aid`=`aa`.`aid` LEFT JOIN `ysm_article_content` `ac` ON `a`.`aid`=`ac`.`aid` LEFT JOIN `ysm_article_type` `at` ON `a`.`aid`=`at`.`aid` WHERE `a`.`tid` IN (7,8,9,10,22,23,24,25,26,27,28,29,32,33,34,'6') ORDER BY `a`.`sort` ASC,`a`.`create_time` DESC LIMIT 0,9 [ RunTime:0.018177s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `tid` = 6 LIMIT 1 [ RunTime:0.000529s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `tid` = 6 LIMIT 1 [ RunTime:0.000167s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `tid` = 13 LIMIT 1 [ RunTime:0.000260s ]
[ SQL ] SHOW COLUMNS FROM `ysm_menu_item` [ RunTime:0.002147s ]
[ SQL ] SELECT * FROM `ysm_menu_item` WHERE `menu_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000333s ]
[ SQL ] SELECT * FROM `ysm_type` ORDER BY `pid` ASC,`sort` ASC [ RunTime:0.000355s ]
[ SQL ] SELECT * FROM `ysm_menu_item` WHERE `menu_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000187s ]