Skip to content

Commit 09ded46

Browse files
author
sunshine824
committed
fetch.js优化,更好支持typescript
1 parent 4a6e4f8 commit 09ded46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/types/user.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* 接口返回结果Types
3-
* --------------------------------------------------------------------------
3+
* ------------------------------------------------------------------------------------------
44
*/
55
// 登录返回结果
66
export interface ILoginData {
@@ -13,7 +13,7 @@ export interface ILoginData {
1313

1414
/**
1515
* 接口参数Types
16-
* --------------------------------------------------------------------------
16+
* ------------------------------------------------------------------------------------------
1717
*/
1818
// 登录参数
1919
export interface ILoginApiParams {
@@ -29,7 +29,7 @@ export interface IPermissionsParams {}
2929

3030
/**
3131
* 接口定义Types
32-
* --------------------------------------------------------------------------
32+
* ------------------------------------------------------------------------------------------
3333
*/
3434
export interface IUserApi {
3535
login: (params: ILoginApiParams) => Promise<StoreState.ResType<ILoginData>>

0 commit comments

Comments
 (0)