SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000778s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000236s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000848s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000228s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000683s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000518s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '小米' [ RunTime:0.017587s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%小米%' OR `keywords` LIKE '%小米%' ) AND `is_on_sale` = 1 [ RunTime:0.001132s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '小米' LIMIT 1 [ RunTime:0.000324s ]
UPDATE `tp_search_word` SET `goods_num` = 1 WHERE `id` = 22 [ RunTime:0.013063s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000599s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%小米%' LIMIT 1 [ RunTime:0.000558s ]
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.001027s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 354 [ RunTime:0.000335s ]
SELECT `goods_id` FROM `tp_goods` WHERE ( shop_price >= 0 and shop_price <= 0 ) [ RunTime:0.000781s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN ('') AND `brand_id` > 0 [ RunTime:0.000251s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000585s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000560s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000603s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000373s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000330s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000362s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000356s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000344s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000332s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000334s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002358s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000325s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000332s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000333s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000305s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000327s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000306s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000336s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000287s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000289s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000293s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000287s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.000665s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000407s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000339s ]