|
@@ -109,9 +109,9 @@ public class CommonController {
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("通用上传视频请求(单个)")
|
|
@ApiOperation("通用上传视频请求(单个)")
|
|
|
@PostMapping("/uploadVi")
|
|
@PostMapping("/uploadVi")
|
|
|
- public AjaxResult uploadFileVi(MultipartFile video) throws Exception {
|
|
|
|
|
|
|
+ public AjaxResult uploadFileVi(MultipartFile file) throws Exception {
|
|
|
try {
|
|
try {
|
|
|
- return fileService.uploadFile(video);
|
|
|
|
|
|
|
+ return fileService.uploadFile(file);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|