diff --git a/static/embed.js b/static/embed.js
index efdf4aa..3d5a5ae 100644
--- a/static/embed.js
+++ b/static/embed.js
@@ -345,11 +345,12 @@ function compress(id){
//IP查询
function ipquery(ip){
- $.get("https://ip.awk.sh/api.php?data=addr&ip=" + ip,function(data,status){
+ $.get("https://api.ttt.sh/ip/qqwry/" + ip,function(data,status){
if(status == 'success') {
+ var info = JSON.parse(data);
layer.open({
title: 'IP查询结果:'
- ,content: data
+ ,content: info.address
,time:3000
});
}
diff --git a/tpl/user/footer.php b/tpl/user/footer.php
index e7e6cc9..42a6817 100644
--- a/tpl/user/footer.php
+++ b/tpl/user/footer.php
@@ -18,6 +18,6 @@
-
+