SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000915s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000890s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '小米' [ RunTime:0.009081s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000739s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%小米%' OR `keywords` LIKE '%小米%' ) AND `is_on_sale` = 1 [ RunTime:0.001479s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '小米' LIMIT 1 [ RunTime:0.000281s ]
UPDATE `tp_search_word` SET `goods_num` = 1 WHERE `id` = 22 [ RunTime:0.006015s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000542s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%小米%' LIMIT 1 [ RunTime:0.000433s ]
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.001349s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 354 [ RunTime:0.000267s ]
SELECT `goods_id` FROM `tp_goods` WHERE ( shop_price >= 2080 and shop_price <= 2600 ) [ RunTime:0.001129s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 5 AND `brand_id` > 0 [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000558s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000268s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` = 5 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000488s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000524s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 5 [ RunTime:0.000346s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000535s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000534s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000300s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000248s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000282s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000313s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000283s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000242s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000297s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000290s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000332s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000309s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000345s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000287s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000287s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000271s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000394s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000340s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000296s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000244s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000374s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000413s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000620s ]