SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.001500s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.001221s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000299s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000442s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000798s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '冰箱' [ RunTime:0.002610s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%冰箱%' OR `keywords` LIKE '%冰箱%' ) AND `is_on_sale` = 1 [ RunTime:0.001892s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '冰箱' LIMIT 1 [ RunTime:0.000809s ]
UPDATE `tp_search_word` SET `goods_num` = 1 WHERE `id` = 26 [ RunTime:0.000343s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000823s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%冰箱%' LIMIT 1 [ RunTime:0.000464s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000371s ]
SELECT `goods_id`,`cat_id` FROM `tp_goods` WHERE ( `goods_name` LIKE '%冰箱%' OR `keywords` LIKE '%冰箱%' ) AND `is_on_sale` = 1 AND `is_virtual` <> 2 OR ( cat_id in (378,379,380,381,382,383) and is_virtual <> 2 and is_on_sale =1 ) [ RunTime:0.001299s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 381 [ RunTime:0.000298s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 206 [ RunTime:0.000373s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 206 AND `brand_id` > 0 [ RunTime:0.000331s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000874s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000257s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` = 206 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000577s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000697s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 206 [ RunTime:0.000320s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000786s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000917s ]
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.000282s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000264s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000278s ]
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.000282s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000269s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000336s ]
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.000278s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000285s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000333s ]
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.000312s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000394s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000278s ]
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.000339s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000265s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000300s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.000742s ]
select * from `tp_slogan` [ RunTime:0.000252s ]
select * from `tp_article_cat` where cat_id < 6 order by sort_order asc [ RunTime:0.000298s ]
select * from `tp_article` where cat_id = 1 and is_open=1 limit 5 [ RunTime:0.000300s ]
select * from `tp_article` where cat_id = 2 and is_open=1 limit 5 [ RunTime:0.000273s ]
select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000302s ]
select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000310s ]
select * from `tp_article` where cat_id = 5 and is_open=1 limit 5 [ RunTime:0.000381s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.000251s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000309s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000268s ]