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