邀请加入公会功能添加

This commit is contained in:
2025-11-21 09:45:09 +08:00
parent e0c5846462
commit afb6ee48f7
2 changed files with 66 additions and 5 deletions

View File

@@ -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')