SHOW FULL COLUMNS FROM `ec_hook` [ RunTime:0.000559s ]
SHOW FULL COLUMNS FROM `ec_hook_plugin` [ RunTime:0.009142s ]
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.004600s ]
SHOW FULL COLUMNS FROM `ec_option` [ RunTime:0.017192s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.000242s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'price_format' LIMIT 1 [ RunTime:0.000217s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'hot_search' LIMIT 1 [ RunTime:0.000130s ]
SHOW FULL COLUMNS FROM `ec_link` [ RunTime:0.000534s ]
SELECT * FROM `ec_link` WHERE ( 1=1 ) ORDER BY `link_order` ASC [ RunTime:0.000196s ]
SHOW FULL COLUMNS FROM `ec_poster` [ RunTime:0.000325s ]
SELECT * FROM `ec_poster` WHERE ( id=13 ) LIMIT 1 [ RunTime:0.000162s ]
SELECT * FROM `ec_poster` WHERE ( id=14 ) LIMIT 1 [ RunTime:0.000123s ]
SELECT * FROM `ec_poster` WHERE ( id=53 ) LIMIT 1 [ RunTime:0.000126s ]
SHOW FULL COLUMNS FROM `ec_gcategory` [ RunTime:0.000387s ]
SELECT * FROM `ec_gcategory` WHERE ( cate_id=2212 ) LIMIT 1 [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `ec_region` [ RunTime:0.000262s ]
SELECT * FROM `ec_region` WHERE ( parent_id = 0 ) ORDER BY `sort_order` ASC [ RunTime:0.001212s ]
select * from ec_category_property where catid=2212 order by id asc [ RunTime:0.000830s ]
SHOW FULL COLUMNS FROM `ec_goods` [ RunTime:0.000597s ]
SELECT COUNT(*) AS think_count FROM `ec_goods` `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.closed = 0 AND s.state = 1 AND g.cate_id_3 = '2212' and g.if_show=1 AND gs.spec_id IS NOT NULL AND s.store_id IS NOT NULL ) [ RunTime:0.000438s ]
SELECT `g`.`goods_id`,`g`.`store_id`,`g`.`type`,`g`.`lm1`,`g`.`lm2`,`g`.`lm3`,`g`.`goods_name`,`g`.`cate_id`,`g`.`cate_name`,`g`.`brand`,`g`.`spec_qty`,`g`.`spec_name_1`,`g`.`spec_name_2`,`g`.`if_show`,`g`.`closed`,`g`.`ding`,`g`.`rec_id`,`g`.`add_time`,`g`.`recommended`,`g`.`price_type`,`g`.`default_image`,`g`.`cate_id_1`,`g`.`cate_id_2`,`g`.`cate_id_3`,`gs`.`spec_id`,`gs`.`spec_1`,`gs`.`spec_2`,`gs`.`color_rgb`,`gs`.`price`,`gs`.`stock`,`z`.`end_time`,`s`.`store_name`,`s`.`region_id`,`s`.`region_name`,`s`.`credit_value`,`s`.`sgrade`,`s`.`address`,`m`.`identity`,`gst`.`views`,`gst`.`sales`,`gst`.`comments`,`g`.`description` FROM `ec_goods` `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.closed = 0 AND s.state = 1 AND g.cate_id_3 = '2212' and g.if_show=1 AND gs.spec_id IS NOT NULL AND s.store_id IS NOT NULL ) ORDER BY `g`.`ding` DESC,`g`.`add_time` DESC LIMIT 0,10 [ RunTime:0.002073s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000244s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000128s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000136s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000240s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000156s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000107s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000209s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000105s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000124s ]
SELECT `option_value` FROM `ec_option` WHERE `option_name` = 'upgrade_required' LIMIT 1 [ RunTime:0.000102s ]
SELECT `goods_name`,`goods_id` FROM `ec_goods` `g` WHERE ( closed=0 and if_show=1 and (cate_id_2=2212 or cate_id_3=2212) ) ORDER BY `add_time` DESC LIMIT 0,10 [ RunTime:0.000315s ]
SELECT `parent_id`,`cate_name`,`cate_id` FROM `ec_gcategory` WHERE ( cate_id = 2212 ) ORDER BY `cate_id` ASC [ RunTime:0.000198s ]
SELECT `parent_id`,`cate_name`,`cate_id` FROM `ec_gcategory` WHERE ( cate_id = 2046 ) ORDER BY `cate_id` ASC [ RunTime:0.000111s ]
SELECT `parent_id`,`cate_name`,`cate_id` FROM `ec_gcategory` WHERE ( cate_id = 1634 ) ORDER BY `cate_id` ASC [ RunTime:0.000100s ]