Vben
2021-02-26 11d3f395caf7e2268630090eb34f4e5c114a96b7
src/api/demo/select.ts
@@ -1,6 +1,5 @@
import { defHttp } from '/@/utils/http/axios';
import { DemoOptionsGetResultModel } from './model/optionsModel';
const { get } = defHttp;
enum Api {
  OPTIONS_LIST = '/select/getDemoOptions',
@@ -9,4 +8,5 @@
/**
 * @description: Get sample options value
 */
export const optionsListApi = () => get<DemoOptionsGetResultModel>({ url: Api.OPTIONS_LIST });
export const optionsListApi = () =>
  defHttp.get<DemoOptionsGetResultModel>({ url: Api.OPTIONS_LIST });