提交 77bf11a7 编写于 作者: 街头小贩's avatar 街头小贩 提交者: Gitee

冰封期检查增加ForumActionEnum.POSTS_QUOTE

上级 57c65ec1
......@@ -149,7 +149,7 @@ public class StrategyInterceptorAdapter extends HandlerInterceptorAdapter{
if(allowRoles.containsAll(Set.of(MemberRoleEnum.MASTER, MemberRoleEnum.BM))){
moderatorPlug(t, entityIns);
}
if(Set.of(ForumActionEnum.TOPIC_PUBLISH, ForumActionEnum.POSTS_REPLY, ForumActionEnum.POSTS_REPLY_FORM).contains(s.action())){
if(Set.of(ForumActionEnum.TOPIC_PUBLISH, ForumActionEnum.POSTS_REPLY, ForumActionEnum.POSTS_REPLY_FORM, ForumActionEnum.POSTS_QUOTE).contains(s.action())){
freezePlug(t);
}
if(StrategyMode.ETC != s.mode()){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册