15b8447c by xiaojie

【数据资产】

1、上传文件到obs
1 parent 5a1ed941
...@@ -47,7 +47,7 @@ public interface DaopCommonFeign { ...@@ -47,7 +47,7 @@ public interface DaopCommonFeign {
47 * @param file 47 * @param file
48 * @return 48 * @return
49 */ 49 */
50 @RequestMapping(value = "/obs/upload-file",method = RequestMethod.POST) 50 @RequestMapping(value = "/obs/upload-file",method = RequestMethod.POST, consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
51 CommonRes uploadFile(@RequestPart MultipartFile file); 51 CommonRes uploadFile(@RequestPart MultipartFile file);
52 52
53 } 53 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!