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 });