提交 a795ec0f authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 c353b6e8
......@@ -75,7 +75,7 @@ public class LiveController {
@ApiOperation(value="创建直播")
@PostMapping(value="/save")
public CallBack<SaveLiveCallBackVo> save(SaveOrUpdateLiveForm entity,@RequestParam(value="file",required=false) MultipartFile file,@RequestParam("imge") MultipartFile image,HttpServletRequest request)throws IOException, ParseException{
public CallBack<SaveLiveCallBackVo> save(SaveOrUpdateLiveForm entity,@RequestParam(value="file",required=false) MultipartFile file,@RequestParam("imge") MultipartFile imge,HttpServletRequest request)throws IOException, ParseException{
Live live = new Live();
if(StringUtils.isNotBlank(entity.getAuthorNameAndId())){
String[] authorNameAndId = entity.getAuthorNameAndId().split(",");
......@@ -91,7 +91,7 @@ public class LiveController {
live.setResourceType(AllResourceTypeEnum.LIVE.getCode());
live.setBrowseNum(0);
//添加保存直播
SaveLiveCallBackVo msg = liveService.save(live,file,image,request);
SaveLiveCallBackVo msg = liveService.save(live,file,imge,request);
return CallBack.success(msg);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论