select.ts 364 B

12345678910111213141516
  1. import { defHttp } from '/@/utils/http/axios';
  2. import { DemoOptionsGetResultModel } from './model/optionsModel';
  3. enum Api {
  4. OPTIONS_LIST = '/select/getDemoOptions',
  5. }
  6. /**
  7. * @description: Get sample options value
  8. */
  9. export function optionsListApi() {
  10. return defHttp.request<DemoOptionsGetResultModel>({
  11. url: Api.OPTIONS_LIST,
  12. method: 'GET',
  13. });
  14. }