提交 e04382a3 编写于 作者: 智布道's avatar 智布道 👁

🐛 Fixing a bug.

上级 e22af215
......@@ -149,7 +149,7 @@ public class BizCommentServiceImpl implements BizCommentService {
SysConfig sysConfig = configService.getByKey(ConfigKeyEnum.ANONYMOUS.getKey());
boolean anonymous = true;
if (null != sysConfig) {
anonymous = Boolean.valueOf(sysConfig.getConfigValue());
anonymous = "1".equals(sysConfig.getConfigValue());
}
// 非匿名且未登录
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册