[ DB ] CONNECT:[ UseTime:0.004780s ] mysql:host=117.78.10.87;port=3306;dbname=DSMALL;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_articleclass` [ RunTime:0.004100s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_id` <= 7 ORDER BY `ac_sort` ASC [ RunTime:0.003051s ]
[ SQL ] SHOW COLUMNS FROM `ds_article` [ RunTime:0.003702s ]
[ 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.003345s ]
[ SQL ] SHOW COLUMNS FROM `ds_cart` [ RunTime:0.008657s ]
[ SQL ] SELECT * FROM `ds_cart` WHERE `buyer_id` IS NULL [ RunTime:0.003339s ]
[ SQL ] SHOW COLUMNS FROM `ds_store` [ RunTime:0.003938s ]
[ SQL ] SELECT * FROM `ds_store` WHERE `store_id` = 1 LIMIT 1 [ RunTime:0.003592s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodscommon` [ RunTime:0.003449s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_goodscommon` WHERE `store_id` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 LIMIT 1 [ RunTime:0.003921s ]
[ SQL ] SHOW COLUMNS FROM `ds_evaluatestore` [ RunTime:0.003173s ]
[ 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.005436s ]
[ SQL ] SHOW COLUMNS FROM `ds_storegoodsclass` [ RunTime:0.003055s ]
[ SQL ] SELECT * FROM `ds_storegoodsclass` WHERE `store_id` = 1 AND `storegc_state` = 1 ORDER BY `storegc_parent_id` ASC,`storegc_sort` ASC,`storegc_id` ASC [ RunTime:0.003866s ]
[ SQL ] SHOW COLUMNS FROM `ds_goods` [ RunTime:0.003243s ]
[ SQL ] SELECT * FROM `ds_goods` WHERE `store_id` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 ORDER BY `goods_salenum` DESC LIMIT 5 [ RunTime:0.004409s ]
[ SQL ] SELECT * FROM `ds_goods` WHERE `store_id` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 ORDER BY `goods_collect` DESC LIMIT 5 [ RunTime:0.004719s ]
[ SQL ] SHOW COLUMNS FROM `ds_storenavigation` [ RunTime:0.003153s ]
[ SQL ] SELECT * FROM `ds_storenavigation` WHERE `storenav_store_id` = 1 ORDER BY `storenav_sort` ASC [ RunTime:0.003102s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_goods` WHERE `store_id` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 AND `gc_id_1` <> 956 LIMIT 1 [ RunTime:0.003975s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `ds_goods` WHERE `store_id` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 AND `gc_id_1` <> 956 GROUP BY CONCAT(goods_commonid) ) `_group_count_` LIMIT 1 [ RunTime:0.004150s ]
[ SQL ] SELECT CONCAT(goods_commonid) as nc_distinct ,goods_id,goods_commonid,goods_name,goods_advword,store_id,store_name,goods_price,goods_promotion_price,goods_marketprice,goods_storage,goods_image,goods_freight,goods_salenum,color_id,evaluation_good_star,evaluation_count,goods_promotion_type FROM `ds_goods` WHERE `store_id` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 AND `gc_id_1` <> 956 GROUP BY CONCAT(goods_commonid) ORDER BY `goods_id` DESC LIMIT 0,12 [ RunTime:0.004784s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_goods` WHERE `store_id` = 1 AND `goods_commend` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 AND `gc_id_1` <> 956 LIMIT 1 [ RunTime:0.015065s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `ds_goods` WHERE `store_id` = 1 AND `goods_commend` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 AND `gc_id_1` <> 956 GROUP BY CONCAT(goods_commonid) ) `_group_count_` LIMIT 1 [ RunTime:0.005504s ]
[ SQL ] SELECT CONCAT(goods_commonid) as nc_distinct ,goods_id,goods_commonid,goods_name,goods_advword,store_id,store_name,goods_price,goods_promotion_price,goods_marketprice,goods_storage,goods_image,goods_freight,goods_salenum,color_id,evaluation_good_star,evaluation_count,goods_promotion_type FROM `ds_goods` WHERE `store_id` = 1 AND `goods_commend` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 AND `gc_id_1` <> 956 GROUP BY CONCAT(goods_commonid) ORDER BY `goods_id` DESC LIMIT 0,12 [ RunTime:0.005650s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsimages` [ RunTime:0.205255s ]
[ SQL ] SELECT * FROM `ds_goodsimages` WHERE `goods_commonid` IN (2152,2147) ORDER BY `goodsimage_isdefault` DESC,`goodsimage_sort` ASC [ RunTime:0.003588s ]