[ DB ] CONNECT:[ UseTime:0.000376s ] mysql:host=127.0.0.1;port=3306;dbname=sh-sx-edi;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_articleclass` [ RunTime:0.001197s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_id` <= 7 ORDER BY `ac_sort` ASC [ RunTime:0.000577s ]
[ SQL ] SHOW COLUMNS FROM `ds_article` [ RunTime:0.000936s ]
[ SQL ] SELECT `article`.`article_id`,`article`.`ac_id`,`article`.`article_url`,`article`.`article_title`,`article`.`article_time`,`article_class`.`ac_name`,`article_class`.`ac_parent_id` FROM `ds_article` `article` LEFT JOIN `ds_articleclass` `article_class` ON `article`.`ac_id`=`article_class`.`ac_id` WHERE ( article.article_show = '1' and (article_class.ac_id <= 7 or (article_class.ac_parent_id > 0 and article_class.ac_parent_id <= 7)) ) ORDER BY `article_sort` ASC,`article_time` DESC LIMIT 300 [ RunTime:0.000738s ]
[ SQL ] SHOW COLUMNS FROM `ds_cart` [ RunTime:0.001039s ]
[ SQL ] SELECT * FROM `ds_cart` WHERE `buyer_id` IS NULL [ RunTime:0.000197s ]
[ SQL ] SELECT * FROM `ds_article` WHERE `article_id` = 6 LIMIT 1 [ RunTime:0.000299s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_id` = 2 LIMIT 1 [ RunTime:0.000206s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_parent_id` = 2 ORDER BY `ac_parent_id` ASC,`ac_sort` ASC,`ac_id` ASC [ RunTime:0.000376s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_parent_id` = 0 ORDER BY `ac_parent_id` ASC,`ac_sort` ASC,`ac_id` ASC [ RunTime:0.000269s ]
[ SQL ] SELECT * FROM `ds_articleclass` ORDER BY `ac_parent_id` ASC,`ac_sort` ASC,`ac_id` ASC [ RunTime:0.000192s ]
[ SQL ] SELECT * FROM `ds_article` WHERE `ac_id` IN (2) AND `article_show` = 1 ORDER BY `article_sort` ASC,`article_time` DESC LIMIT 10 [ RunTime:0.000284s ]