@jdlinker/system
Version:
jdLinker 系统模块
20 lines (16 loc) • 402 B
text/typescript
import { defHttp } from '@jdlinker/func';
import { DemoParams, DemoListGetResultModel } from './model/tableModel';
enum Api {
DEMO_LIST = '/mock/table/getDemoList'
}
/**
* @description: Get sample list value
*/
export const demoListApi = (params: DemoParams) =>
defHttp.get<DemoListGetResultModel>({
url: Api.DEMO_LIST,
params,
headers: {
ignoreCancelToken: true
}
});