[ DB ] CONNECT:[ UseTime:0.008067s ] mysql:host=117.78.10.87;port=3306;dbname=DSMALL;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_articleclass` [ RunTime:0.005569s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_id` <= 7 ORDER BY `ac_sort` ASC [ RunTime:0.005296s ]
[ SQL ] SHOW COLUMNS FROM `ds_article` [ RunTime:0.005572s ]
[ 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.005565s ]
[ SQL ] SHOW COLUMNS FROM `ds_cart` [ RunTime:0.005454s ]
[ SQL ] SELECT * FROM `ds_cart` WHERE `buyer_id` IS NULL [ RunTime:0.005183s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsclasstag` [ RunTime:0.005447s ]
[ SQL ] SELECT `gctag_id`,`gctag_name`,`gctag_value`,`gc_id`,`type_id` FROM `ds_goodsclasstag` [ RunTime:0.005223s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodscommon` [ RunTime:0.005738s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE ( `goodscommon`.`goods_name` LIKE '%黑色%' OR `goodscommon`.`goods_advword` LIKE '%黑色%' ) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ) `_group_count_` LIMIT 1 [ RunTime:0.008054s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_commonid`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`gc_id`,`goodscommon`.`store_id`,`goodscommon`.`store_name`,`goodscommon`.`goods_price`,`goods`.`goods_promotion_price`,`goods`.`goods_promotion_type`,`goodscommon`.`goods_marketprice`,`goods`.`goods_storage`,`goodscommon`.`goods_image`,`goodscommon`.`goods_freight`,`goods`.`goods_salenum`,`goods`.`color_id`,`goods`.`evaluation_good_star`,`goods`.`evaluation_count`,`goodscommon`.`is_virtual`,`goodscommon`.`is_goodsfcode`,`goodscommon`.`is_appoint`,`goodscommon`.`is_presell`,`goods`.`is_have_gift` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE ( `goodscommon`.`goods_name` LIKE '%黑色%' OR `goodscommon`.`goods_advword` LIKE '%黑色%' ) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goods`.`goods_click` DESC LIMIT 0,12 [ RunTime:0.009768s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsimages` [ RunTime:0.005443s ]
[ SQL ] SELECT * FROM `ds_goodsimages` WHERE `goods_commonid` IN (542,2115) ORDER BY `goodsimage_isdefault` DESC,`goodsimage_sort` ASC [ RunTime:0.005800s ]
[ SQL ] SHOW COLUMNS FROM `ds_store` [ RunTime:0.005611s ]
[ SQL ] SELECT `store_id`,`member_id`,`store_name` FROM `ds_store` WHERE `store_id` IN (7) [ RunTime:0.005149s ]