SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000645s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 28 LIMIT 1 [ RunTime:0.000327s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000671s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 28 [ RunTime:0.000379s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000766s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (28,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261) [ RunTime:0.000558s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 24 [ RunTime:0.000310s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 24 AND `brand_id` > 0 [ RunTime:0.000272s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000588s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000281s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(24) [ RunTime:0.000385s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000434s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 24 AND `attr_value` <> '' [ RunTime:0.000280s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000459s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000405s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 24 ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000418s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000419s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 24 [ RunTime:0.000300s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000537s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 24 LIMIT 1 [ RunTime:0.000291s ]