refactor: refactor axios

This commit is contained in:
xingyu4j
2022-11-03 16:55:01 +08:00
parent 9adc84c396
commit 3eb11e2658
49 changed files with 314 additions and 412 deletions

View File

@ -1,6 +1,5 @@
import { useAxios } from '@/hooks/web/useAxios'
import request from '@/config/axios'
import { LeaveVO } from './types'
const request = useAxios()
// 创建请假申请
export const createLeaveApi = async (data: LeaveVO) => {