编写前端请求代码

This commit is contained in:
2023-03-17 18:53:13 +08:00
parent 6f4dbdbd7e
commit 31d175d36a
10 changed files with 129 additions and 61 deletions

View File

@@ -17,7 +17,7 @@ interface LoginInfo
password: string;
}
async function login(data: LoginInfo): Promise<AxiosResponse<any, any>>
async function login( data: LoginInfo ): Promise<AxiosResponse<any, any>>
{
return await instance.request(
{