|
@@ -77,20 +77,6 @@ public class OpenFileInfoController extends BaseController{
|
|
|
}
|
|
|
|
|
|
|
|
|
- /**
|
|
|
- * 上传图片
|
|
|
- * @param uploadImage
|
|
|
- * @return
|
|
|
- * @throws IOException
|
|
|
- */
|
|
|
- @PostMapping("/uploadImage")
|
|
|
- @ResponseBody
|
|
|
- @ApiOperation("公众号开放上传文件接口")
|
|
|
- public Response uploadImageFile(@RequestParam("img") MultipartFile uploadImage,@RequestParam("type")String type) throws IOException {
|
|
|
- List<MultipartFile> files = new ArrayList<MultipartFile>();
|
|
|
- files.add(uploadImage);
|
|
|
- return fileInfoService.fileUp(type,files);
|
|
|
- }
|
|
|
|
|
|
|
|
|
|