chore: init project
This commit is contained in:
18
apps/antd-view/src/services/modules/user/typing.ts
Normal file
18
apps/antd-view/src/services/modules/user/typing.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace UserApi {
|
||||
/** 登录接口参数 */
|
||||
export interface LoginParams {
|
||||
password: string;
|
||||
username: string;
|
||||
}
|
||||
|
||||
/** 登录接口返回值 */
|
||||
export interface LoginResult {
|
||||
accessToken: string;
|
||||
desc: string;
|
||||
realName: string;
|
||||
userId: string;
|
||||
username: string;
|
||||
}
|
||||
}
|
||||
|
||||
export type { UserApi };
|
Reference in New Issue
Block a user