| 123456789101112 |
- import { ApiInstance } from '../type'
- const toolApi = (axiosInstance: ApiInstance) => ({
- //上传接口
- fileupload: (data: any) => axiosInstance.post('file/upload', data, {}),
- //字典接口
- dictType: (params: any) => axiosInstance.get('dict/get', {params}),
- })
- export default toolApi
|