SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.001273s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000255s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.001254s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000351s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000666s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000740s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = 'iphone' [ RunTime:0.001521s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%iphone%' OR `keywords` LIKE '%iphone%' ) AND `is_on_sale` = 1 [ RunTime:0.001780s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = 'iphone' LIMIT 1 [ RunTime:0.000397s ]
UPDATE `tp_search_word` SET `goods_num` = 2 WHERE `id` = 25 [ RunTime:0.000386s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000836s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%iphone%' LIMIT 1 [ RunTime:0.000279s ]
SELECT `goods_id`,`cat_id` FROM `tp_goods` WHERE ( `goods_name` LIKE '%iphone%' OR `keywords` LIKE '%iphone%' ) AND `is_on_sale` = 1 AND `is_virtual` <> 2 [ RunTime:0.001150s ]
SELECT * FROM `tp_goods_category` WHERE `id` IN (68,76) [ RunTime:0.000310s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (28,210) [ RunTime:0.000413s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (28,210) AND `brand_id` > 0 [ RunTime:0.000400s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000780s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000252s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` IN (28,210) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000615s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000750s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (28,210) [ RunTime:0.000334s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.001090s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000836s ]
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.000296s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000266s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000311s ]
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.000290s ]
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.000277s ]
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.000319s ]
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=104 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.000303s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000275s ]
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.000323s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000266s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000309s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.000720s ]
select * from `tp_slogan` [ RunTime:0.000304s ]
select * from `tp_article_cat` where cat_id < 6 order by sort_order asc [ RunTime:0.000256s ]
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.000271s ]
select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000310s ]
select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000264s ]
select * from `tp_article` where cat_id = 5 and is_open=1 limit 5 [ RunTime:0.000301s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.000246s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000328s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000265s ]