|
@@ -87,10 +87,10 @@ public class FileInfoController extends BaseController{
|
|
|
@PostMapping("/uploadImage")
|
|
|
@ResponseBody
|
|
|
@ApiOperation("微信小程序上传文件接口")
|
|
|
- public Response uploadImageFile(@RequestParam("img") MultipartFile uploadImage) throws IOException {
|
|
|
+ public Response uploadImageFile(@RequestParam("img") MultipartFile uploadImage,@RequestParam("businessType") String businessType) throws IOException {
|
|
|
List<MultipartFile> files = new ArrayList<MultipartFile>();
|
|
|
files.add(uploadImage);
|
|
|
- return fileInfoService.fileUp("反馈意见",files);
|
|
|
+ return fileInfoService.fileUp(businessType,files);
|
|
|
}
|
|
|
|
|
|
|