1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-22 01:30:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

添加测试类,去除多余的import

This commit is contained in:
2022-04-04 00:47:14 +08:00
parent 1b2d61723e
commit 8d30e4898d
8 changed files with 84 additions and 40 deletions

View File

@@ -0,0 +1,15 @@
postRequest('/debug/status', { token: localStorage.token })
.then(function (response) {
var axiosData = response.data;
var status = axiosData.status;
var data = axiosData.data;
if (status === "success") {
console.log(data);
$(".main").html("请在 F12 查看");
} else {
alert(`出错啦!${data.errMsg} (错误码: ${data.errCode}) `);
}
}).catch(function (error) {
console.log(error);
});