dbsd_kczx/src/api/demo/select.ts

12 lines
355 B
TypeScript
Raw Normal View History

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
*/
export const optionsListApi = (params?: selectParams) =>
defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST, params });