SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000504s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000163s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000475s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '手机' [ RunTime:0.004090s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000590s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%手机%' OR `keywords` LIKE '%手机%' ) AND `is_on_sale` = 1 [ RunTime:0.011655s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '手机' LIMIT 1 [ RunTime:0.000259s ]
UPDATE `tp_search_word` SET `goods_num` = 22 WHERE `id` = 23 [ RunTime:0.037863s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000434s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%手机%' LIMIT 1 [ RunTime:0.000228s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000422s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 31 [ RunTime:0.001932s ]
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 (31,32,62,63,64,65,66,67,33,68,69,70,71,72,73,74,34,75,76,77,78,79,80,35,84,81,82,85,86,87,88,36,89,90,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182) and is_virtual <> 2 and is_on_sale =1 ) [ RunTime:0.000837s ]
SELECT * FROM `tp_goods_category` WHERE `id` IN (32,62,80,68,69,75,84,72,89,90,87,70,73,76,77,78,79,81,82,86,88,178,536) [ RunTime:0.000385s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (1,13,16,25,27,28,30,34,35,39,48,49,50,52,55,59,62,65,69,70,71,73,75,79,114,145,147,203,210,226,237,258,259,272,273,328) [ RunTime:0.001420s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (1,13,16,25,27,28,30,34,35,39,48,49,50,52,55,59,62,65,69,70,71,73,75,79,114,145,147,203,210,226,237,258,259,272,273,328) AND `brand_id` > 0 [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000976s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.001284s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` IN (1,13,16,25,27,28,30,34,35,39,48,49,50,52,55,59,62,65,69,70,71,73,75,79,114,145,147,203,210,226,237,258,259,272,273,328) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000784s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000382s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (1,13,16,25,27,28,30,34,35,39,48,49,50,52,55,59,62,65,69,70) [ RunTime:0.001174s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.016695s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000380s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000248s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000186s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000758s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004887s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000710s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000857s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000238s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002276s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.003121s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000215s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000245s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.014530s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000241s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000184s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000216s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000364s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000238s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000180s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1776668400 and end_time > 1776668400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000226s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.004724s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.021828s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.013782s ]