1. 个人中心-收藏数据不对
2. 管理员查询不到用户未公开帖子 3. 注册/资料修改 成功后未提示 4. 首页帖子用户头像链接地址错误
This commit is contained in:
@@ -178,7 +178,7 @@ public class BaseServlet extends HttpServlet {
|
||||
UserInfo userInfo = request.currentUser();
|
||||
if (userInfo == null){
|
||||
node.and("status", FilterExpress.NOTEQUAL, 3);
|
||||
}else {
|
||||
}else if (!userService.isAdmin(currentId)){
|
||||
//select * from content c where c.status != -1 and (c.status!=3 or (c.status=3 and c.userId=100001))
|
||||
node.and(FilterNode.create("status", FilterExpress.NOTEQUAL, 3).or(FilterNode.create("status", 3).and("userId", userInfo.getUserId())));
|
||||
}
|
||||
|
Reference in New Issue
Block a user