vue-vben-admin/src/api/demo/select.ts

13 lines
341 B
TypeScript
Raw Normal View History

2020-12-27 22:25:35 +08:00
import { defHttp } from '/@/utils/http/axios';
import { DemoOptionsGetResultModel } from './model/optionsModel';
2021-02-26 22:45:36 +08:00
const { get } = defHttp;
2020-12-27 22:25:35 +08:00
enum Api {
OPTIONS_LIST = '/select/getDemoOptions',
}
/**
* @description: Get sample options value
*/
2021-02-26 22:45:36 +08:00
export const optionsListApi = () => get<DemoOptionsGetResultModel>({ url: Api.OPTIONS_LIST });