SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.015928s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.003717s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000767s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.002066s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.002390s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.003088s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '冰箱' [ RunTime:0.030767s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%冰箱%' OR `keywords` LIKE '%冰箱%' ) AND `is_on_sale` = 1 [ RunTime:0.001319s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '冰箱' LIMIT 1 [ RunTime:0.000364s ]
UPDATE `tp_search_word` SET `goods_num` = 1 WHERE `id` = 26 [ RunTime:0.019664s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000669s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%冰箱%' LIMIT 1 [ RunTime:0.000460s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000581s ]
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.001132s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 381 [ RunTime:0.000266s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 206 [ RunTime:0.000215s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 206 AND `brand_id` > 0 [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000488s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000199s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` = 206 ORDER BY `comment_count` ASC LIMIT 0,20 [ RunTime:0.000423s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000575s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 206 [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000592s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000340s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000615s ]
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.000375s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000324s ]
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.000408s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000323s ]
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.000353s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000324s ]
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.000380s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000363s ]
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.000368s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000324s ]
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.000377s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000355s ]
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.000351s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000310s ]
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.000357s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000295s ]
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.000359s ]
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.000360s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.000707s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000331s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000326s ]