Browse Source

添加朋友圈 数据处理验证4

author
wanghongjun 6 months ago
parent
commit
d16c0c4cf6
  1. 2
      app/enterprise/controller/Posts.php

2
app/enterprise/controller/Posts.php

@ -46,7 +46,7 @@ class Posts extends BaseController
))";
// 不可见
$whereOr .= " or ( p.privacy = 4 and not exists (
$whereOr .= " or ( p.privacy = 4 and exists (
select 1 from {$prefix}posts_privacy_users peu
where peu.posts_id = p.id and peu.user_id = p.user_id and peu.type = 2
)))";

Loading…
Cancel
Save