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,8 +1,6 @@
import { useAxios } from '@/hooks/web/useAxios'
import request from '@/config/axios'
import type { PostVO, PostPageReqVO, PostExportReqVO } from './types'
const request = useAxios()
// 查询岗位列表
export const getPostPageApi = async (params: PostPageReqVO) => {
return await request.get({ url: '/system/post/page', params })