Sanakey
2024-08-24 7450a275438c5c94c4b0014f813970d9da473116
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import {defHttp} from '@/utils/http/axios';
import {BasicPageParams} from "@/api/model/baseModel";
 
type CluesDynamicParams = Partial<BasicPageParams>;
 
enum Api {
  DEMO_LIST = '/crm/clues/dynamic',
}
 
/**
 * @description: Get sample list value
 */
 
export const cluesDynamicApi = (params:CluesDynamicParams) => {
  params.pageNo = params.page;
  Logger.log('cluesDynamicApi,,,', params);
  return defHttp.get({
    url: Api.DEMO_LIST,
    params,
    headers: {
      // @ts-ignore
      ignoreCancelToken: true,
    },
  });
}