邀请加入公会功能添加
This commit is contained in:
@@ -104,7 +104,7 @@ class UserMessage extends Model
|
||||
|
||||
|
||||
if($type == 1){
|
||||
$where['type'] = $type;
|
||||
$where['type'] = ['in' , [1, 5, 6]];
|
||||
}else{
|
||||
$where['type'] = ['in' , [3, 4]];
|
||||
}
|
||||
@@ -114,7 +114,6 @@ class UserMessage extends Model
|
||||
->where($where)//1系统消息 3公告下的房间推荐,4公告下的活动'
|
||||
->where('FIND_IN_SET(:user_id, receiving_id)', ['user_id' => $uid])
|
||||
->select();
|
||||
|
||||
//自己已经阅读过的信息
|
||||
$where['user_id'] = $uid;
|
||||
$user_read_message = db::name('user_message')
|
||||
|
||||
Reference in New Issue
Block a user