Browse Source

黑名单用户不能看到朋友圈不能发消息2

master
wanghongjun 8 months ago
parent
commit
0468bfd145
  1. 3
      app/enterprise/model/User.php

3
app/enterprise/model/User.php

@ -228,12 +228,15 @@ class User extends BaseModel
$is_top = 0;
$is_notice = 1;
$is_blacklist = 1;
if ($friend) {
$is_top = $friend['is_top'];
$is_notice = $friend['is_notice'];
$is_blacklist = $friend['is_blacklist'];
}
$list_chart[$k]['is_top'] = $is_top;
$list_chart[$k]['is_notice'] = $is_notice;
$list_chart[$k]['is_blacklist'] = $is_blacklist;
if ($unread) {
foreach ($unread as $val) {
if ($val['from_user'] == $v['user_id']) {

Loading…
Cancel
Save