Browse Source

朋友圈部分人可见优化

master
wanghongjun 7 months ago
parent
commit
a3a5a77a9a
  1. 2
      app/enterprise/controller/Posts.php

2
app/enterprise/controller/Posts.php

@ -92,7 +92,7 @@ class Posts extends BaseController
$whereOr .= " or ( p.privacy = 2 and exists (
select 1 from {$prefix}posts_privacy_users pvu
where pvu.posts_id = p.id and pvu.user_id = p.user_id
where pvu.posts_id = p.id
and pvu.type = 1 and pvu.user_id in ({$this->uid})
))";

Loading…
Cancel
Save