Commit 9487d269 authored by 刘基明's avatar 刘基明

同步专栏才做转播校验

parent 568ea178
......@@ -30,7 +30,7 @@ public class CreateThemeReq {
@ApiModelProperty(value = "修改,则传入正在编辑的ThemeId")
private String editThemeId = "";
@ApiModelProperty("是否同步到社区 0为不同步 1为同步 不传也为同步")
@ApiModelProperty("是否同步到社区 0为不同步 1为同步 默认不同步")
private Integer syncToNewComm = 0;
}
......@@ -202,7 +202,10 @@ public class ThemeManager {
// 校验参数
checkAttachment(req.getContent());
// 转播权限校验
if (1 == req.getSyncToNewComm()){
liveRelayCheck(userId, req.getContent());
}
// 保存主题表
ThemeEntity themeEntity = new ThemeEntity();
......@@ -711,7 +714,7 @@ public class ThemeManager {
// 校验参数
checkAttachment(req.getContent());
// 转播权限校验
liveRelayCheck(userId, req.getContent());
// liveRelayCheck(userId, req.getContent());
// 保存主题表
ThemeEntity themeEntity = new ThemeEntity();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment