Sanakey
3 天以前 b5c1614fe473330ceca8b7cff0f1802e19bd5039
提交 | 用户 | age
ec4248 1 import {defHttp} from '@/utils/http/axios';
S 2 import {BasicPageParams} from "@/api/model/baseModel";
3
4 type CluesListParams = Partial<BasicPageParams>;
5
6 enum Api {
b5c161 7   DEMO_LIST = '/crm/clues/table',
ec4248 8 }
S 9
10 /**
11  * @description: Get sample list value
12  */
13
14 export const cluesListApi = (params:CluesListParams) => {
15   params.pageNo = params.page;
16   Logger.info('cluesListApi', params);
17   return defHttp.get({
18     url: Api.DEMO_LIST,
19     params,
20     headers: {
21       // @ts-ignore
22       ignoreCancelToken: true,
23     },
24   });
25 }
26
27
28