mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 05:50:18 +08:00
feat(projects): 添加请求适配adapter层应用的示例页面
This commit is contained in:
21
src/typings/api.d.ts
vendored
21
src/typings/api.d.ts
vendored
@@ -28,3 +28,24 @@ declare namespace ApiDemo {
|
||||
dataName: string;
|
||||
}
|
||||
}
|
||||
|
||||
declare namespace ApiUserManagement {
|
||||
interface UserTable {
|
||||
/** 用户id */
|
||||
id: string;
|
||||
/** 用户名 */
|
||||
name: string;
|
||||
/** 用户年龄 */
|
||||
age?: number;
|
||||
/**
|
||||
* 用户性别
|
||||
* - 男 1
|
||||
* - 女 0
|
||||
*/
|
||||
gender: '0' | '1' | null;
|
||||
/** 创建时间 */
|
||||
createTime: string;
|
||||
/** 更新时间 */
|
||||
updateTime: string;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user