Showing
1 changed file
with
5 additions
and
1 deletions
@@ -48,9 +48,13 @@ export async function deleteTenantProfileApi(ids: string) { | @@ -48,9 +48,13 @@ export async function deleteTenantProfileApi(ids: string) { | ||
48 | } | 48 | } |
49 | 49 | ||
50 | export const getTableTenantProfileApi = (params?: QueryTenantProfilesParam) => { | 50 | export const getTableTenantProfileApi = (params?: QueryTenantProfilesParam) => { |
51 | + const param = { | ||
52 | + ...params, | ||
53 | + orderFiled: 'createdTime', | ||
54 | + }; | ||
51 | return defHttp.get<PaginationResult>({ | 55 | return defHttp.get<PaginationResult>({ |
52 | url: Api.getTenantProfile, | 56 | url: Api.getTenantProfile, |
53 | - params, | 57 | + params: param, |
54 | }); | 58 | }); |
55 | }; | 59 | }; |
56 | 60 |