2021-10-20 14:32:09 +08:00
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
|
|
|
|
|
enum Api {
|
2022-03-10 09:47:29 +08:00
|
|
|
TREE_OPTIONS_LIST = '/mock/tree/getDemoOptions',
|
2021-10-20 14:32:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @description: Get sample options value
|
|
|
|
*/
|
|
|
|
export const treeOptionsListApi = (params?: Recordable) =>
|
|
|
|
defHttp.get<Recordable[]>({ url: Api.TREE_OPTIONS_LIST, params });
|