SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000579s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 13 LIMIT 1 [ RunTime:0.000290s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000505s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 13 [ RunTime:0.000331s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000685s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (13,14,15,16,17,18,19,20,21,22,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197) [ RunTime:0.000575s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (7,66,94,171,225,251,3,95,125,214,222,228,295,15,97,98,99,100,117,146,118,174,119,121,123,124,126,127,10,129,131,132,135,138,140,143,144) [ RunTime:0.000602s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (7,66,94,171,225,251,3,95,125,214,222,228,295,15,97,98,99,100,117,146,118,174,119,121,123,124,126,127,10,129,131,132,135,138,140,143,144) AND `brand_id` > 0 [ RunTime:0.000440s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000441s ]
SELECT * FROM `tp_brand` WHERE `id` = 3 LIMIT 30 [ RunTime:0.000230s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(7,66,94,171,225,251,3,95,125,214,222,228,295,15,97,98,99,100,117,146,118,174,119,121,123,124,126,127,10,129,131,132,135,138,140,143,144) [ RunTime:0.000334s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000461s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000230s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000464s ]
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.000430s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000501s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (7,66,94,171,225,251,3,95,125,214,222,228,295,15,97,98,99,100,117,146,118,174,119,121,123,124,126,127,10,129,131,132,135,138,140,143,144) AND `attr_value` <> '' [ RunTime:0.000473s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000480s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000381s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (7,66,94,171,225,251,3,95,125,214,222,228,295,15,97,98,99,100,117,146,118,174,119,121,123,124,126,127,10,129,131,132,135,138,140,143,144) ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.001059s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000546s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (3,7,10,15,95,66,94,97,98,99) [ RunTime:0.000520s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000755s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 3 LIMIT 1 [ RunTime:0.000381s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 7 LIMIT 1 [ RunTime:0.000264s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 10 LIMIT 1 [ RunTime:0.000289s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 15 LIMIT 1 [ RunTime:0.000247s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 95 LIMIT 1 [ RunTime:0.000226s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 66 LIMIT 1 [ RunTime:0.000257s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 94 LIMIT 1 [ RunTime:0.000246s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 97 LIMIT 1 [ RunTime:0.000198s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 98 LIMIT 1 [ RunTime:0.000239s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 99 LIMIT 1 [ RunTime:0.000211s ]