fix bug
parent
0d9e9d1343
commit
ef27884827
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
<!-- 底部END -->
|
||||
<script src="./static/jquery.min.js"></script>
|
||||
<script src="./static/layui/layui.js"></script>
|
||||
<script src="./static/embed.js?v=1.31"></script>
|
||||
<script src="./static/embed.js?v=1.40"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue