feat(projects): 添加请求适配器的请求示例

This commit is contained in:
Soybean
2022-04-04 19:13:15 +08:00
parent 6bed9ead38
commit bed4292ed3
8 changed files with 63 additions and 38 deletions

View File

@ -21,3 +21,10 @@ declare namespace ApiRoute {
home: AuthRoute.RouteKey;
}
}
declare namespace ApiDemo {
interface DataWithAdapter {
dataId: string;
dataName: string;
}
}

View File

@ -21,3 +21,10 @@ declare namespace Auth {
userRole: RoleType;
}
}
declare namespace Demo {
interface DataWithAdapter {
id: string;
name: string;
}
}