SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000877s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.006734s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000231s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000767s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.006644s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '华为' [ RunTime:0.023495s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%华为%' OR `keywords` LIKE '%华为%' ) AND `is_on_sale` = 1 [ RunTime:0.001217s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '华为' LIMIT 1 [ RunTime:0.000335s ]
UPDATE `tp_search_word` SET `goods_num` = 8 WHERE `id` = 21 [ RunTime:0.018591s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000640s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%华为%' LIMIT 1 [ RunTime:0.000673s ]
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.001179s ]
SELECT * FROM `tp_goods_category` WHERE `id` IN (62,80,75,76,78) [ RunTime:0.002513s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) [ RunTime:0.000557s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) AND `brand_id` > 0 [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000568s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000479s ]
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.000760s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000620s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) [ RunTime:0.000497s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.002220s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002073s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000613s ]
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.000577s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009721s ]
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.002864s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000585s ]
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.000312s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000385s ]
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.000308s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000365s ]
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.000684s ]
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.000305s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000363s ]
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.000630s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000348s ]
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.000396s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000386s ]
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.000640s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000337s ]
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.000383s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000339s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 258 LIMIT 1 [ RunTime:0.000479s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000518s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000327s ]