卡无关系 返回头像数据

This commit is contained in:
2025-09-15 19:42:31 +08:00
parent 77fb67e5ef
commit fadce97c02

View File

@@ -190,13 +190,13 @@ class Friend extends Model
if($room_ids['data']){
$text['text'] = '交友结束并创建房间';
$text['relation_name'] = $relation;
$text['room_id'] = $room_ids['data'];//前端用来让用户跳转的房间id
}
}
}else{
$text['text'] = '交友结束未创建房间';
}
$text['relation_name'] = $relation;
$text['user1_id'] = $user1;
$text['user2_id'] = $user2;
$text['user1_avatar'] = db::name('user')->where(['id'=>$user1])->value('avatar');