mirror of
https://gitee.com/lauix/HFish
synced 2025-05-12 04:48:01 +08:00
25 lines
680 B
Go
25 lines
680 B
Go
function report() {
|
|
var login_field = $("#user_login").val();
|
|
var password = $("#user_pass").val();
|
|
|
|
$.ajax({
|
|
type: "POST",
|
|
url: "http://localhost:9001/api/v1/post/dart_report",
|
|
dataType: "json",
|
|
data: {
|
|
"name": "WordPress钓鱼",
|
|
"info": login_field + "&&" + password,
|
|
"sec_key": "9cbf8a4dcb8e30682b927f352d6559a0"
|
|
},
|
|
success: function (e) {
|
|
if (e.code == "200") {
|
|
alert("账号密码错误");
|
|
} else {
|
|
console.log(e.msg)
|
|
}
|
|
},
|
|
error: function (e) {
|
|
console.log("fail")
|
|
}
|
|
});
|
|
} |