You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
429 B
21 lines
429 B
import { defHttp } from '@/utils/http/axios' |
|
import { DemoParams, DemoListGetResultModel } from './model/tableModel' |
|
|
|
enum Api { |
|
DEMO_LIST = '/table/getDemoList' |
|
} |
|
|
|
/** |
|
* @description: Get sample list value |
|
*/ |
|
|
|
export const demoListApi = (params: DemoParams) => { |
|
return defHttp.get<DemoListGetResultModel>({ |
|
url: Api.DEMO_LIST, |
|
params, |
|
headers: { |
|
// @ts-ignore |
|
ignoreCancelToken: true |
|
} |
|
}) |
|
}
|
|
|