feat(workbench): 接入工作台首页概览聚合接口
This commit is contained in:
@@ -25,7 +25,9 @@ export function getCampuses(): Promise<CampusRecord[]> {
|
||||
}
|
||||
|
||||
return request
|
||||
.get<ApiResponse<BackendCollection<OrganizationResponseDto>>>('/v1/campuses')
|
||||
.get<ApiResponse<BackendCollection<OrganizationResponseDto>>>('/v1/campuses', {
|
||||
params: { page: 1, size: 200 },
|
||||
})
|
||||
.then(unwrapApiResponse)
|
||||
.then((data) =>
|
||||
getRecords(data).map((item) => ({
|
||||
|
||||
Reference in New Issue
Block a user