Ben Lin
2024-07-03 a745761147b17a42b4698250a170ef4c0fa0b09b
1
2
3
4
5
6
7
8
9
10
11
import { defHttp } from '@/utils/http/axios';
 
enum Api {
  TREE_OPTIONS_LIST = '/tree/getDemoOptions',
}
 
/**
 * @description: Get sample options value
 */
export const treeOptionsListApi = (params?: Recordable) =>
  defHttp.get<Recordable[]>({ url: Api.TREE_OPTIONS_LIST, params });