select.ts 353 B

12345678910
  1. import { defHttp } from '/@/utils/http/axios';
  2. import { DemoOptionsItem, selectParams } from './model/optionsModel';
  3. enum Api {
  4. OPTIONS_LIST = '/mock/select/getDemoOptions',
  5. }
  6. /**
  7. * @description: Get sample options value
  8. */
  9. export const optionsListApi = (params?: selectParams) => defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST, params });