import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { SysServiceModeVo } from '@/api/service/mode/types';

export const list = (): AxiosPromise<SysServiceModeVo[]> => {
  return request({
    url: '/service/mode/list',
    method: 'GET'
  });
};

