feat(projects): 添加请求适配adapter层应用的示例页面

This commit is contained in:
Soybean
2022-07-30 22:16:42 +08:00
parent f6b61418e5
commit 8d11a6affc
14 changed files with 228 additions and 86 deletions

21
src/typings/api.d.ts vendored
View File

@@ -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;
}
}