SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000671s ]
SELECT * FROM `tp_config` [ RunTime:0.000453s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000559s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002143s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000667s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000271s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 44 LIMIT 1 [ RunTime:0.000277s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000510s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 44 [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000676s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (44,138,139,140,141,142,143,144,145,146) [ RunTime:0.000377s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 91 [ RunTime:0.000243s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 91 AND `brand_id` > 0 [ RunTime:0.000316s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000233s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(91) [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000422s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 91 AND `attr_value` <> '' [ RunTime:0.000236s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000397s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000329s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 91 ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000389s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000767s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 91 [ RunTime:0.000327s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000633s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 91 LIMIT 1 [ RunTime:0.000322s ]