import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { FormType } from './types';
export const Leave = (data?: FormType): AxiosPromise<any> => {
  return request({
    url: '/zjk/leave',
    method: 'post',
    data
  });
};
