对接问卷调查、投诉建议接口
This commit is contained in:
@@ -132,10 +132,10 @@ export const addVisitorData = (data) =>{
|
||||
}
|
||||
|
||||
// 通用文件上传
|
||||
export const uploadImage = () => {
|
||||
return upload('');
|
||||
export const uploadImage = (data) => {
|
||||
return upload('/api/resident/file/uploadImage',data);
|
||||
}
|
||||
// 上传单张图片
|
||||
export const uploadFile = (filePath) => {
|
||||
return upload(filePath, '');
|
||||
return upload(filePath,'/api/resident/file/uploadImage');
|
||||
}
|
||||
Reference in New Issue
Block a user