1:添加酒吧房抱麦推送,在推送过来后,需要选择礼物

2:添加酒吧房设置了自定义礼物推送
3:修改自定义礼物设置的接口,传递了roomId,用于推送消息
This commit is contained in:
2026-01-08 15:36:17 +08:00
parent ac09992b01
commit 0b37364a11
10 changed files with 43 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ class SetupCustomGiftDialog(context: Context, val roomId: String) :
var adapter: SetupCustomGiftAdapter? = null
var time: MutableList<String> = mutableListOf()
var mRoomId : String =roomId
var performInputDialog: PerformInputDialog? = null
override fun getLayoutId(): Int {
@@ -61,7 +61,7 @@ class SetupCustomGiftDialog(context: Context, val roomId: String) :
performInputDialog?.setOnConfirmListener { content ->
// TODO: 这里表演内容的回调
t[position].gift_remark_name=content
RetrofitClient.getInstance().setCustomGift(t[position].gift_id,content,object : BaseObserver<String>() {
RetrofitClient.getInstance().setCustomGift(t[position].gift_id,content,mRoomId,object : BaseObserver<String>() {
override fun onSubscribe(d: Disposable) {
}