vben
2023-04-05 8e5a6b7ce547ba8edb1d767bb4d820f3b66ff95a
1
2
3
4
5
6
7
8
9
10
11
12
import { defHttp } from '/@/utils/http/axios';
import { DemoOptionsItem, selectParams } from './model/optionsModel';
 
enum Api {
  OPTIONS_LIST = '/select/getDemoOptions',
}
 
/**
 * @description: Get sample options value
 */
export const optionsListApi = (params?: selectParams) =>
  defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST, params });