添加登录
This commit is contained in:
Vendored
+30
-4
@@ -35,14 +35,22 @@ declare namespace Api {
|
||||
namespace Auth {
|
||||
/** 登录参数 */
|
||||
interface LoginParams {
|
||||
userName: string
|
||||
password: string
|
||||
account?: string
|
||||
password?: string
|
||||
feishu_code?: string
|
||||
}
|
||||
|
||||
/** 登录响应 */
|
||||
interface LoginResponse {
|
||||
token: string
|
||||
refreshToken: string
|
||||
data: any
|
||||
}
|
||||
/** 登录响应 */
|
||||
interface registerResponse {
|
||||
code: any
|
||||
}
|
||||
/** 授权响应 */
|
||||
interface Authfeishuscope {
|
||||
auth_url: any
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,6 +65,7 @@ declare namespace Api {
|
||||
avatar?: string
|
||||
email?: string
|
||||
phone?: string
|
||||
menu?: any
|
||||
}
|
||||
|
||||
/** 用户列表数据 */
|
||||
@@ -130,4 +139,21 @@ declare namespace Api {
|
||||
total: number
|
||||
}
|
||||
}
|
||||
/** 角色 */
|
||||
namespace Role {
|
||||
/** 品牌信息 */
|
||||
interface RoleInfo {
|
||||
data: never[]
|
||||
id: number
|
||||
name: string
|
||||
}
|
||||
|
||||
/** 品牌列表数据 */
|
||||
interface RoleListData {
|
||||
records: RoleInfo[]
|
||||
current: number
|
||||
size: number
|
||||
total: number
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user