SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000856s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000234s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000940s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000193s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000806s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000516s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '小米' [ RunTime:0.034769s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%小米%' OR `keywords` LIKE '%小米%' ) AND `is_on_sale` = 1 [ RunTime:0.001181s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '小米' LIMIT 1 [ RunTime:0.000497s ]
UPDATE `tp_search_word` SET `goods_num` = 1 WHERE `id` = 22 [ RunTime:0.023927s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.004616s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%小米%' LIMIT 1 [ RunTime:0.000615s ]
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.001228s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 354 [ RunTime:0.000301s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 5 [ RunTime:0.000272s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 5 AND `brand_id` > 0 [ RunTime:0.000286s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000593s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000271s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` = 5 ORDER BY `sales_sum` ASC LIMIT 0,20 [ RunTime:0.000510s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000554s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 5 [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.043724s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000512s ]
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.000297s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000258s ]
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.000303s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000294s ]
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.000280s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000273s ]
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.000284s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000296s ]
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.000280s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000279s ]
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.000298s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000286s ]
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.000318s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000262s ]
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.000314s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000536s ]
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.000276s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000282s ]
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.000363s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.002028s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000288s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000306s ]