保存进度!
This commit is contained in:
parent
12dd277a2a
commit
ef9472b334
28
code/web/task_schedule/src/test/test.ts
Normal file
28
code/web/task_schedule/src/test/test.ts
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* @Author: Kane
|
||||||
|
* @Date: 2023-03-02 15:48:44
|
||||||
|
* @LastEditors: Kane
|
||||||
|
* @FilePath: /task_schedule/src/test/test.ts
|
||||||
|
* @Description:
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
});
|
Loading…
x
Reference in New Issue
Block a user