[ SQL ] SHOW COLUMNS FROM `tp_search_word` [ RunTime:0.000533s ]
[ SQL ] UPDATE `tp_search_word` SET `search_num`=`search_num`+1 WHERE `keywords` = '小米' [ RunTime:0.004331s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.000685s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_goods` WHERE ( (`goods_name` LIKE '%小米%') OR (`keywords` LIKE '%小米%') ) AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000238s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_category` [ RunTime:0.000432s ]
[ SQL ] SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%小米%' LIMIT 1 [ RunTime:0.000427s ]
[ SQL ] SELECT `goods_id`,`cat_id` FROM `tp_goods` WHERE ( (`goods_name` LIKE '%小米%') OR (`keywords` LIKE '%小米%') ) AND `is_on_sale` = 1 AND `is_virtual` <> 2 [ RunTime:0.000592s ]
[ SQL ] SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (0) [ RunTime:0.000328s ]
[ SQL ] SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN ('') AND `brand_id` > 0 [ RunTime:0.000317s ]
[ SQL ] SHOW COLUMNS FROM `tp_brand` [ RunTime:0.000658s ]
[ SQL ] SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000217s ]
[ SQL ] SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000232s ]
[ SQL ] select * from `tp_slogan` [ RunTime:0.000216s ]
[ SQL ] select * from `tp_article_cat` where cat_id < 6 order by sort_order asc [ RunTime:0.000588s ]
[ SQL ] select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000269s ]
[ SQL ] select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000361s ]
[ SQL ] select * from `tp_article` where cat_id = 5 and is_open=1 limit 5 [ RunTime:0.000304s ]
[ SQL ] select * from `tp_article` where cat_id = 2 and is_open=1 limit 5 [ RunTime:0.000569s ]
[ SQL ] select * from `tp_article` where cat_id = 1 and is_open=1 limit 5 [ RunTime:0.000516s ]
[ SQL ] select * from `tp_friend_link` where is_show=1 [ RunTime:0.000260s ]
[ SQL ] SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000225s ]
[ SQL ] select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000245s ]