SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.001022s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000338s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.002916s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000235s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000898s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000648s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '三星' [ RunTime:0.022312s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%三星%' OR `keywords` LIKE '%三星%' ) AND `is_on_sale` = 1 [ RunTime:0.001129s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '三星' LIMIT 1 [ RunTime:0.000327s ]
UPDATE `tp_search_word` SET `goods_num` = 2 WHERE `id` = 20 [ RunTime:0.017655s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000652s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%三星%' LIMIT 1 [ RunTime:0.000622s ]
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.001034s ]
SELECT * FROM `tp_goods_category` WHERE `id` IN (90,62) [ RunTime:0.000325s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (49,79) [ RunTime:0.000283s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (49,79) AND `brand_id` > 0 [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000569s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000266s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` IN (49,79) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000573s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000623s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (49,79) [ RunTime:0.000289s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.007443s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000298s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.001721s ]
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.001201s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000822s ]
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.001316s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.048811s ]
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.000342s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000311s ]
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.000320s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000328s ]
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.000353s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000297s ]
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.000412s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.007324s ]
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.000324s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000342s ]
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.000345s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.026438s ]
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.000337s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000293s ]
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.000376s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.002584s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.020633s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000348s ]