SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000682s ]
SELECT * FROM `tp_config` [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000583s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002303s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000696s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000660s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_name` LIKE '%小米%' [ RunTime:0.001023s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 5 [ RunTime:0.000267s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 5 AND `brand_id` > 0 [ RunTime:0.000265s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000226s ]
SELECT `goods_id`,`goods_name`,`sales_sum`,`virtual_sales_sum`,`shop_price`,`bespeak_template_id`,`label_id` FROM `tp_goods` WHERE `goods_id` = 5 ORDER BY `sort` DESC LIMIT 0,12 [ RunTime:0.000280s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000493s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 5 [ RunTime:0.000293s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000605s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 5 LIMIT 1 [ RunTime:0.000347s ]