邀请徒弟完成任务

This commit is contained in:
2025-12-11 13:27:24 +08:00
parent 4723ad2e2d
commit f6869b0941
2 changed files with 34 additions and 0 deletions

View File

@@ -458,4 +458,14 @@ class Room extends BaseCom
$reslut = model('Room')->user_in_room_background($this->uid, $room_id,$type);
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}
//给用户发送房间内消息
public function send_room_message()
{
$user_id = input('user_id', '');
$room_id = input('room_id', 0);
$reslut = model('Room')->send_room_message($this->uid, $user_id,$room_id);
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}
}