提交 341fec22 authored 作者: liupengfei's avatar liupengfei

--no commit message

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