SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.001032s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 36 LIMIT 1 [ RunTime:0.000496s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000647s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 36 [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000726s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (36,89,90,160,161,162,163,164,165,166,167) [ RunTime:0.000432s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (48,49) [ RunTime:0.000310s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (48,49) AND `brand_id` > 0 [ RunTime:0.000320s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000544s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000238s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(48,49) [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000527s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (48,49) AND `attr_value` <> '' [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000456s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000358s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (48,49) ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000501s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000493s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (48,49) [ RunTime:0.000293s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000634s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 48 LIMIT 1 [ RunTime:0.000274s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 49 LIMIT 1 [ RunTime:0.000276s ]