编写前端请求代码
This commit is contained in:
@@ -8,21 +8,4 @@
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
|
||||
import { type LoginInfo, login } from "../utils/account.js";
|
||||
|
||||
const loginInfo: LoginInfo = {
|
||||
p13account: "wangwei-202",
|
||||
password: "Kane@1983",
|
||||
};
|
||||
|
||||
login(loginInfo)
|
||||
.then((response: any) =>
|
||||
{
|
||||
const data = response.data ?? {};
|
||||
|
||||
console.log(data);
|
||||
})
|
||||
.catch((error: any) =>
|
||||
{
|
||||
console.log(error);
|
||||
});
|
||||
import { queryDepartmentArchievement } from "../utils/archievement.js";
|
||||
|
Reference in New Issue
Block a user