SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000733s ]
SELECT * FROM `tp_config` [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000569s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002489s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000624s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000242s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 34 LIMIT 1 [ RunTime:0.000287s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000566s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 34 [ RunTime:0.000364s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000742s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (34,75,76,77,78,79,80) [ RunTime:0.001226s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (34,273,59,210,62,65,226,69,16) [ RunTime:0.000318s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (34,273,59,210,62,65,226,69,16) AND `brand_id` > 0 [ RunTime:0.000328s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000240s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(34,273,59,210,62,65,226,69,16) [ RunTime:0.000404s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000517s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000432s ]
SELECT `id`,`id`,`spec_id`,`item` FROM `tp_spec_item` WHERE `spec_id` IN (1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,52,18,19,20,21,22,23,24,25,26,27,28,29,36,53,33,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,56,57) [ RunTime:0.000475s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000466s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (34,273,59,210,62,65,226,69,16) AND `attr_value` <> '' [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000462s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000338s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (34,273,59,210,62,65,226,69,16) ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000542s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000521s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (16,34,59,62,65,69,210,226,273) [ RunTime:0.004903s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000616s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 16 LIMIT 1 [ RunTime:0.000362s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 34 LIMIT 1 [ RunTime:0.000289s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 59 LIMIT 1 [ RunTime:0.000293s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 62 LIMIT 1 [ RunTime:0.000234s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 65 LIMIT 1 [ RunTime:0.000186s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 69 LIMIT 1 [ RunTime:0.000202s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 210 LIMIT 1 [ RunTime:0.000209s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 226 LIMIT 1 [ RunTime:0.000265s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 273 LIMIT 1 [ RunTime:0.000268s ]