SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000578s ]
SELECT * FROM `tp_config` [ RunTime:0.000358s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000541s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002491s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000825s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000389s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000895s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (28,210) [ RunTime:0.000382s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (28,210) AND `brand_id` > 0 [ RunTime:0.000383s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000235s ]
SELECT `goods_id`,`goods_name`,`sales_sum`,`virtual_sales_sum`,`shop_price`,`bespeak_template_id`,`label_id` FROM `tp_goods` WHERE `goods_id` IN (28,210) ORDER BY `sort` DESC LIMIT 0,12 [ RunTime:0.000325s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000556s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 28 LIMIT 1 [ RunTime:0.000354s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 210 LIMIT 1 [ RunTime:0.000271s ]