SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000722s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 62 LIMIT 1 [ RunTime:0.000389s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 32 ORDER BY `sort_order` DESC LIMIT 1 [ RunTime:0.000486s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000496s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 62 [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000772s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` = 62 [ RunTime:0.000427s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (13,25,79,114,145,237,258,259,272,328) [ RunTime:0.000379s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (13,25,79,114,145,237,258,259,272,328) AND `brand_id` > 0 [ RunTime:0.000423s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000566s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000278s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(13,25,79,114,145,237,258,259,272,328) [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000479s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000521s ]
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.000472s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000483s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (13,25,79,114,145,237,258,259,272,328) AND `attr_value` <> '' [ RunTime:0.000442s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000488s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000547s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (13,25,79,114,145,237,258,259,272,328) ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000688s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000605s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (13,25,79,114,145,237,258,259,272,328) [ RunTime:0.000590s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000630s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 13 LIMIT 1 [ RunTime:0.000378s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 25 LIMIT 1 [ RunTime:0.000304s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 79 LIMIT 1 [ RunTime:0.000291s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 114 LIMIT 1 [ RunTime:0.000259s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 145 LIMIT 1 [ RunTime:0.000301s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 237 LIMIT 1 [ RunTime:0.000296s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 258 LIMIT 1 [ RunTime:0.000260s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 259 LIMIT 1 [ RunTime:0.000312s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 272 LIMIT 1 [ RunTime:0.000234s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 328 LIMIT 1 [ RunTime:0.000306s ]