| 123456789101112131415161718 |
- import { ApiInstance } from '../type'
- /*
- * 性别 gender
- 民族 nation
- 婚姻状况 marriage
- 政治面貌 political_status
- 健康状况 health_status
- 学历 educational
- 银行 bank_info
- * */
- const commonApi = (axiosInstance: ApiInstance) => ({
- personInfo: (data: string) => axiosInstance.get(`/dict/get?dictCode=${data}`),
- fileUpload: (data: any) => axiosInstance.post('/file/upload', data, {}), // 文件上传
- })
- export default commonApi
|