wwl 4 년 전
부모
커밋
8896972914
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zzjs-admin/src/main/java/com/miaxis/pc/controller/teachingVideo/TeachingVideoInfoController.java

+ 1 - 1
zzjs-admin/src/main/java/com/miaxis/pc/controller/teachingVideo/TeachingVideoInfoController.java

@@ -91,7 +91,7 @@ public class TeachingVideoInfoController extends BaseController {
     @PutMapping("/coverUp")
     @ApiOperation("封面上传")
     public Response coverUp(MultipartFile coverFile,
-                            @ApiParam(name = "fileId",value = "云点播fileId") @RequestParam("fileId") String fileId){
+                            @ApiParam(name = "fileId",value = "云点播fileId",required = true) @RequestParam("fileId") String fileId){
         return teachingVideoInfoService.coverUp(fileId,coverFile);
     }