Commit e214350e7d29a37cfc7346938b2e3ff75ced0553

Authored by fengtao
1 parent 2af873e0

pref:优化租户配置 分页新增排序字段

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