SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000508s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 495 LIMIT 1 [ RunTime:0.000345s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000518s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 495 [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000667s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (495,499,500,498,501,502,503,504,505,506,507,508,509,510,511,512) [ RunTime:0.000370s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (122,120,134,232,133) [ RunTime:0.000269s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (122,120,134,232,133) AND `brand_id` > 0 [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000454s ]
SELECT * FROM `tp_brand` WHERE `id` = 14 LIMIT 30 [ RunTime:0.000258s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(122,120,134,232,133) [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000461s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000238s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000451s ]
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.000399s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000421s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (122,120,134,232,133) AND `attr_value` <> '' [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000404s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000335s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (122,120,134,232,133) ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000515s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000476s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (120,122,133,134,232) [ RunTime:0.000345s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000555s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 120 LIMIT 1 [ RunTime:0.000271s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 122 LIMIT 1 [ RunTime:0.000197s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 133 LIMIT 1 [ RunTime:0.000223s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 134 LIMIT 1 [ RunTime:0.000185s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 232 LIMIT 1 [ RunTime:0.000199s ]