SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000531s ]
SELECT * FROM `tp_config` [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000496s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.001998s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000635s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000243s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 500 LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 495 ORDER BY `sort_order` DESC LIMIT 1 [ RunTime:0.000281s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000407s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 500 [ RunTime:0.000245s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000621s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` = 500 [ RunTime:0.000283s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (120,134,232) [ RunTime:0.000268s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (120,134,232) AND `brand_id` > 0 [ RunTime:0.000351s ]
SELECT * FROM `tp_brand` WHERE `id` = 14 LIMIT 30 [ RunTime:0.000365s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(120,134,232) [ RunTime:0.000491s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000675s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000428s ]
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.000403s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000438s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (120,134,232) AND `attr_value` <> '' [ RunTime:0.000267s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000412s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000271s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (120,134,232) ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000446s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (120,134,232) [ RunTime:0.000256s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000488s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 120 LIMIT 1 [ RunTime:0.000291s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 134 LIMIT 1 [ RunTime:0.000474s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 232 LIMIT 1 [ RunTime:0.000193s ]