SHOW FULL COLUMNS FROM `ec_hook` [ RunTime:0.000466s ]
SHOW FULL COLUMNS FROM `ec_hook_plugin` [ RunTime:0.000333s ]
SELECT `hook`,`plugin` FROM `ec_hook_plugin` WHERE `status` = 1 AND `hook` IN ('app_begin','module_init','action_begin','view_filter','app_end','log_write','response_end','admin_init','home_init','send_mobile_verification_code','body_start','before_head_end','footer_start','before_footer','before_footer_end','before_body_end','left_sidebar_start','before_left_sidebar_end','right_sidebar_start','before_right_sidebar_end','comment','guestbook','switch_theme','after_content','before_content','log_write_done','switch_admin_theme','captcha_image','user_login_start') ORDER BY `list_order` ASC [ RunTime:0.000406s ]
SHOW FULL COLUMNS FROM `ec_option` [ RunTime:0.000455s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.000169s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'price_format' LIMIT 1 [ RunTime:0.000331s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'hot_search' LIMIT 1 [ RunTime:0.000129s ]
SHOW FULL COLUMNS FROM `ec_link` [ RunTime:0.000480s ]
SELECT * FROM `ec_link` WHERE ( 1=1 ) ORDER BY `link_order` ASC [ RunTime:0.000220s ]
SHOW FULL COLUMNS FROM `ec_poster` [ RunTime:0.000368s ]
SELECT * FROM `ec_poster` WHERE ( id=27 ) LIMIT 1 [ RunTime:0.000185s ]
SELECT * FROM `ec_poster` WHERE ( id=28 ) LIMIT 1 [ RunTime:0.000125s ]
SELECT * FROM `ec_poster` WHERE ( id=29 ) LIMIT 1 [ RunTime:0.000105s ]
SELECT * FROM `ec_poster` WHERE ( id=30 ) LIMIT 1 [ RunTime:0.000102s ]
SELECT * FROM `ec_poster` WHERE ( id=31 ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `ec_poster` WHERE ( id=32 ) LIMIT 1 [ RunTime:0.000117s ]
SELECT * FROM `ec_poster` WHERE ( id=56 ) LIMIT 1 [ RunTime:0.000112s ]
SELECT * FROM `ec_poster` WHERE ( id=24 ) LIMIT 1 [ RunTime:0.000108s ]
SELECT * FROM `ec_poster` WHERE ( id=25 ) LIMIT 1 [ RunTime:0.000198s ]
SELECT * FROM `ec_poster` WHERE ( id=26 ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `ec_poster` WHERE ( id=54 ) LIMIT 1 [ RunTime:0.000156s ]
SHOW FULL COLUMNS FROM `ec_gcategory` [ RunTime:0.000580s ]
SELECT * FROM `ec_gcategory` WHERE ( cate_id=3546 ) LIMIT 1 [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `ec_category_property` [ RunTime:0.000347s ]
SELECT * FROM `ec_category_property` WHERE ( catid=3546 ) ORDER BY `id` ASC [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `ec_caigou` [ RunTime:0.000539s ]
SELECT COUNT(*) AS think_count FROM `ec_caigou` `g` LEFT JOIN `ec_store` `s` ON `g`.`store_id`=`s`.`store_id` LEFT JOIN `ec_member` `m` ON `s`.`store_id`=`m`.`user_id` WHERE ( g.checks = 1 AND s.state = 1 AND g.cate_id_3 = '3546' ) [ RunTime:0.000257s ]
SELECT COUNT(*) AS think_count FROM `ec_caigou` `g` LEFT JOIN `ec_goods_spec` `gs` ON `g`.`default_spec`=`gs`.`spec_id` LEFT JOIN `ec_store` `s` ON `g`.`store_id`=`s`.`store_id` LEFT JOIN `ec_member` `m` ON `s`.`store_id`=`m`.`user_id` LEFT JOIN `ec_order_zengzhi` `z` ON `z`.`rec_id`=`g`.`rec_id` LEFT JOIN `ec_goods_statistics` `gst` ON `g`.`goods_id`=`gst`.`goods_id` WHERE ( g.checks = 1 AND s.state = 1 AND g.cate_id_3 = '3546' AND g.store_id = '' AND gs.spec_id IS NOT NULL AND s.store_id IS NOT NULL ) [ RunTime:0.000294s ]
SELECT g.goods_id, g.store_id, g.type, g.goods_name,g.lm1,g.lm2,g.lm3, g.cate_id, g.start_time, g.end_time, g.cate_name,g.ding,g.rec_id,g.checks, g.brand, g.spec_qty, g.spec_name_1, g.spec_name_2, g.if_show, g.closed, g.add_time, g.recommended, g.default_image, z.end_time as end_times,s.store_name, s.region_id, s.region_name, s.credit_value, s.sgrade,m.identity, g.description FROM ec_caigou g LEFT JOIN ec_store s ON g.store_id = s.store_id LEFT JOIN ec_order_zengzhi z ON z.rec_id = g.rec_id LEFT JOIN ec_member m ON s.store_id = m.user_id WHERE g.checks = 1 AND s.state = 1 AND g.cate_id_3 = '3546' and (cate_id_2=3546 or cate_id_3=3546) AND g.store_id = '' ORDER BY g.ding desc,g.last_update desc,case when (s.sgrade=4 or s.sgrade=2) then 2 else 1 end desc LIMIT 10 [ RunTime:0.000547s ]
SELECT `parent_id`,`cate_name`,`cate_id` FROM `ec_gcategory` WHERE ( cate_id = 3546 ) ORDER BY `cate_id` ASC [ RunTime:0.000291s ]
SELECT `parent_id`,`cate_name`,`cate_id` FROM `ec_gcategory` WHERE ( cate_id = 3510 ) ORDER BY `cate_id` ASC [ RunTime:0.000151s ]
SELECT `parent_id`,`cate_name`,`cate_id` FROM `ec_gcategory` WHERE ( cate_id = 3189 ) ORDER BY `cate_id` ASC [ RunTime:0.000197s ]