2020-12-27 22:25:35 +08:00
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
2021-06-10 15:43:28 +08:00
|
|
|
import { DemoOptionsItem } from './model/optionsModel';
|
2020-12-27 22:25:35 +08:00
|
|
|
enum Api {
|
|
|
|
|
OPTIONS_LIST = '/select/getDemoOptions',
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description: Get sample options value
|
|
|
|
|
*/
|
2021-06-10 15:43:28 +08:00
|
|
|
export const optionsListApi = () => defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST });
|