[ DB ] CONNECT:[ UseTime:0.007543s ] mysql:host=117.78.10.87;port=3306;dbname=DSMALL;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_articleclass` [ RunTime:0.005195s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_id` <= 7 ORDER BY `ac_sort` ASC [ RunTime:0.004984s ]
[ SQL ] SHOW COLUMNS FROM `ds_article` [ RunTime:0.005149s ]
[ 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.005207s ]
[ SQL ] SHOW COLUMNS FROM `ds_cart` [ RunTime:0.005083s ]
[ SQL ] SELECT * FROM `ds_cart` WHERE `buyer_id` IS NULL [ RunTime:0.004881s ]
[ SQL ] SHOW COLUMNS FROM `ds_storeclass` [ RunTime:0.005164s ]
[ SQL ] SELECT * FROM `ds_storeclass` ORDER BY `storeclass_sort` ASC,`storeclass_id` ASC [ RunTime:0.004855s ]
[ SQL ] SHOW COLUMNS FROM `ds_store` [ RunTime:0.005401s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_store` WHERE `store_state` = 1 LIMIT 1 [ RunTime:0.004919s ]
[ SQL ] SELECT * FROM `ds_store` WHERE `store_state` = 1 ORDER BY `store_sort` ASC LIMIT 0,10 [ RunTime:0.005246s ]
[ SQL ] SHOW COLUMNS FROM `ds_evaluatestore` [ RunTime:0.005107s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 7 LIMIT 1 [ RunTime:0.004811s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 1 LIMIT 1 [ RunTime:0.004850s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 5 LIMIT 1 [ RunTime:0.004839s ]
[ SQL ] SELECT * FROM `ds_store` WHERE `storeclass_id` = 11 AND `store_state` = 1 [ RunTime:0.005067s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` IN (5,0) LIMIT 1 [ RunTime:0.004841s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 9 LIMIT 1 [ RunTime:0.004798s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 12 LIMIT 1 [ RunTime:0.004764s ]
[ SQL ] SHOW COLUMNS FROM `ds_goods` [ RunTime:0.005236s ]
[ SQL ] SELECT store_id,count(*) as goods_count FROM `ds_goods` WHERE `goods_state` = 1 AND `store_id` IN (7,1,5,9,12) GROUP BY `store_id` [ RunTime:0.005929s ]
[ SQL ] SHOW COLUMNS FROM `ds_order` [ RunTime:0.005258s ]
[ SQL ] SELECT store_id,count(*) as order_count FROM `ds_order` WHERE `store_id` IN (7,1,5,9,12) AND `order_state` <> 0 AND `add_time` > 1723898575 GROUP BY `store_id` [ RunTime:0.006915s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 7 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.006201s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 1 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.005903s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 5 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.006117s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 9 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.005960s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 12 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.005908s ]