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