import request from '@/utils/request';
import { ServiceVO } from './types';
import { AxiosPromise } from 'axios';

/**
 * 获取所有服务列表
 * @returns {*}
 */
export const listAllService = (): AxiosPromise<ServiceVO[]> => {
  return request({
    url: '/service/list/listAll',
    method: 'get'
  });
};
