SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000662s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 38 LIMIT 1 [ RunTime:0.000401s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000674s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 38 [ RunTime:0.000401s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000709s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (38,91,92,93,94,95) [ RunTime:0.000662s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (2,51,231,261,246,265,266,282,81,260,263,264,274,275,277,14,276,278,279) [ RunTime:0.000550s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (2,51,231,261,246,265,266,282,81,260,263,264,274,275,277,14,276,278,279) AND `brand_id` > 0 [ RunTime:0.000457s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000641s ]
SELECT * FROM `tp_brand` WHERE `id` = 4 LIMIT 30 [ RunTime:0.000356s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(2,51,231,261,246,265,266,282,81,260,263,264,274,275,277,14,276,278,279) [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000507s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000484s ]
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.000437s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000439s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (2,51,231,261,246,265,266,282,81,260,263,264,274,275,277,14,276,278,279) AND `attr_value` <> '' [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000475s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000340s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (2,51,231,261,246,265,266,282,81,260,263,264,274,275,277,14,276,278,279) ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000903s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000724s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (2,14,51,81,231,261,246,260,263,264) [ RunTime:0.000601s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000520s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 2 LIMIT 1 [ RunTime:0.000313s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 14 LIMIT 1 [ RunTime:0.000216s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 51 LIMIT 1 [ RunTime:0.000287s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 81 LIMIT 1 [ RunTime:0.000305s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 231 LIMIT 1 [ RunTime:0.000218s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 261 LIMIT 1 [ RunTime:0.000211s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 246 LIMIT 1 [ RunTime:0.000220s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 260 LIMIT 1 [ RunTime:0.000213s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 263 LIMIT 1 [ RunTime:0.000238s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 264 LIMIT 1 [ RunTime:0.000215s ]