Blame view

Yi.Vben5.Vue3/playground/src/api/examples/table.ts 393 Bytes
515fceeb   “wangming”   框架初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  import { requestClient } from '#/api/request';
  
  export namespace DemoTableApi {
    export interface PageFetchParams {
      [key: string]: any;
      page: number;
      MaxResultCount: number;
    }
  }
  
  /**
   * 获取示例表格数据
   */
  async function getExampleTableApi(params: DemoTableApi.PageFetchParams) {
    return requestClient.get('/table/list', { params });
  }
  
  export { getExampleTableApi };