[ DB ] CONNECT:[ UseTime:0.000577s ] mysql:host=127.0.0.1;port=3306;dbname=mohuan;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_config` [ RunTime:0.001661s ]
[ SQL ] SELECT * FROM `ds_config` [ RunTime:0.000573s ]
[ SQL ] SHOW COLUMNS FROM `ds_articleclass` [ RunTime:0.001299s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_id` <= 7 ORDER BY `ac_sort` ASC [ RunTime:0.000574s ]
[ SQL ] SHOW COLUMNS FROM `ds_article` [ RunTime:0.001283s ]
[ 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.000867s ]
[ SQL ] SHOW COLUMNS FROM `ds_navigation` [ RunTime:0.001656s ]
[ SQL ] SELECT * FROM `ds_navigation` ORDER BY `nav_sort` [ RunTime:0.000414s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsclass` [ RunTime:0.001289s ]
[ SQL ] SELECT * FROM `ds_goodsclass` ORDER BY `gc_parent_id` ASC,`gc_sort` ASC,`gc_id` ASC [ RunTime:0.000531s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsclassnav` [ RunTime:0.001515s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 1 LIMIT 1 [ RunTime:0.000513s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE `gc_id` IN (75) ORDER BY `gc_parent_id` ASC,`gc_sort` ASC,`gc_id` ASC [ RunTime:0.000489s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 4 LIMIT 1 [ RunTime:0.000430s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 9 LIMIT 1 [ RunTime:0.000409s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 10 LIMIT 1 [ RunTime:0.000417s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 11 LIMIT 1 [ RunTime:0.000409s ]
[ SQL ] SHOW COLUMNS FROM `ds_typebrand` [ RunTime:0.001421s ]
[ SQL ] SELECT * FROM `ds_typebrand` WHERE `type_id` IN (1) LIMIT 10000 [ RunTime:0.000484s ]
[ SQL ] SELECT `brand_id` FROM `ds_typebrand` WHERE `type_id` = 1 [ RunTime:0.000479s ]
[ SQL ] SHOW COLUMNS FROM `ds_attribute` [ RunTime:0.001298s ]
[ SQL ] SELECT `attr_id`,`attr_name` FROM `ds_attribute` WHERE `type_id` = 1 AND `attr_show` = 1 ORDER BY `attr_sort` ASC [ RunTime:0.000459s ]
[ SQL ] SHOW COLUMNS FROM `ds_attributevalue` [ RunTime:0.001205s ]
[ SQL ] SELECT `attrvalue_id`,`attrvalue_name`,`attr_id` FROM `ds_attributevalue` WHERE `type_id` = 1 ORDER BY `attrvalue_sort` ASC,`attrvalue_id` ASC [ RunTime:0.000466s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodscommon` [ RunTime:0.001698s ]
[ 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`.`gc_id_3` = 75 AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ) `_group_count_` LIMIT 1 [ RunTime:0.001304s ]
[ 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`.`gc_id_3` = 75 AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goods`.`goods_salenum` DESC LIMIT 0,12 [ RunTime:0.001357s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsimages` [ RunTime:0.001325s ]
[ SQL ] SELECT * FROM `ds_goodsimages` WHERE `goods_commonid` IN (307,308,301,302,303,304,305,306) ORDER BY `goodsimage_isdefault` DESC,`goodsimage_sort` ASC [ RunTime:0.000576s ]
[ SQL ] SHOW COLUMNS FROM `ds_store` [ RunTime:0.001600s ]
[ SQL ] SELECT `store_id`,`member_id`,`store_name` FROM `ds_store` WHERE `store_id` IN (3) [ RunTime:0.000552s ]
[ SQL ] SELECT `gc_id`,`gc_title`,`gc_keywords`,`gc_description` FROM `ds_goodsclass` WHERE `gc_keywords` <> '' [ RunTime:0.000586s ]