SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.001429s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.001182s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000289s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000648s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000799s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '华为' [ RunTime:0.000419s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%华为%' OR `keywords` LIKE '%华为%' ) AND `is_on_sale` = 1 [ RunTime:0.001522s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '华为' LIMIT 1 [ RunTime:0.000408s ]
UPDATE `tp_search_word` SET `goods_num` = 8 WHERE `id` = 21 [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000761s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%华为%' LIMIT 1 [ RunTime:0.000415s ]
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.001200s ]
SELECT * FROM `tp_goods_category` WHERE `id` IN (62,80,75,76,78) [ RunTime:0.000357s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) [ RunTime:0.000413s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) AND `brand_id` > 0 [ RunTime:0.000483s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000790s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000323s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` IN (13,16,34,59,65,145,258,272) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000920s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000728s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000737s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000316s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000816s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1620223200 and end_time > 1620223200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000310s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000263s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000309s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1620223200 and end_time > 1620223200 ) 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.000259s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000314s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1620223200 and end_time > 1620223200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000310s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000259s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000303s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1620223200 and end_time > 1620223200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000422s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000299s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000272s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1620223200 and end_time > 1620223200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000305s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000259s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000267s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.000845s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 258 LIMIT 1 [ RunTime:0.000359s ]
select * from `tp_slogan` [ RunTime:0.000286s ]
select * from `tp_article_cat` where cat_id < 6 order by sort_order asc [ RunTime:0.000255s ]
select * from `tp_article` where cat_id = 1 and is_open=1 limit 5 [ RunTime:0.000297s ]
select * from `tp_article` where cat_id = 2 and is_open=1 limit 5 [ RunTime:0.000269s ]
select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000263s ]
select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000263s ]
select * from `tp_article` where cat_id = 5 and is_open=1 limit 5 [ RunTime:0.000261s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.000277s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000252s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000308s ]