小小API是一个稳定 快速 的 API 接口服务 点击加入QQ群
< !--导入JQ -->
<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script>
$.ajax({
url: 'https://v2.api-m.com/api/lanzou?url=https://xiaoxiaoxx.lanzouj.com/iBivv15z7qch',
type: 'get',
beforeSend: function () {
//请求中执行的代码
},
complete: function () {
//请求完成执行的代码
},
error: function () {
//请求成功失败执行的代码
},
success: function (res) {
// 状态码 200 表示请求成功
if (res.code === 200) {
console.log(res)
} else {
console.log(res)
}
}
})
</script>
{
"code": 200,
"msg": "数据请求成功",
"data": "https://developer.lanzoug.com/file/?CG4CPAAxADFUXQc/ATRVOQc4Bz9fRlc6UDlUJgISVz8IalB0Dw1XMlQsA2UBe1NjUSVUKwQyA3ECI1o6BjMGawhtAgoANAAwVD8HZgFiVWEHbAc2XzdXZ1BvVHQCOFclCDVQNg9hVzVUMwNlAXNTIlF7VGwEaQMxAjdabgZ1BjcIMAJ6AG0AYlQtBzQBbVUwBzgHMV8xV2JQY1RhAm1XZgg8UDYPZFc7VGQDYwFsUzZRO1RnBG4DOQI3WmoGPwYwCGoCYwA5ADBUZwd/AS9VPQctByRfdVcmUDJUIAI3VzIINVA2D2BXM1Q3A2MBY1NnUS1UJQQyA2wCYFo6BmcGNgg+AmIAawBtVDIHaAFlVWEHbAcsXy5Xc1AxVD4CKVdrCDlQMQ9lVzVUOwNlAWJTYFE9VGIEfQN0AnVaKwZnBjYIPgJgAGQAY1Q7B2gBZFViB20HJF91VzxQJ1RvAm9XZAg6UCkPYFcxVDoDewFnU2NRPVR/BGkDMwI2"
}