2023-11-24 10:32:04 +08:00
|
|
|
import { defHttp } from '@/utils/http/axios';
|
2021-06-14 22:10:41 +08:00
|
|
|
import { DemoOptionsItem, selectParams } from './model/optionsModel';
|
2023-04-05 22:47:14 +08:00
|
|
|
|
2020-12-27 22:25:35 +08:00
|
|
|
enum Api {
|
|
|
|
|
OPTIONS_LIST = '/select/getDemoOptions',
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description: Get sample options value
|
|
|
|
|
*/
|
2021-06-14 22:10:41 +08:00
|
|
|
export const optionsListApi = (params?: selectParams) =>
|
2021-07-08 02:46:15 +08:00
|
|
|
defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST, params });
|