邀请列表查看详情数据格式不一致导致无法显示昵称的问题
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.yizhuan.xchat_android_core.relation.cp
|
||||
|
||||
data class CpInviteDetailEntity(
|
||||
val acceptAvatar: String? = "",
|
||||
val acceptGender: Int = 1,
|
||||
val acceptNick: String = "",
|
||||
val acceptUid: Long = 0,
|
||||
val cpId: Int = 0,
|
||||
val declaration: String = "",
|
||||
val inviteAvatar: String? = null,
|
||||
val inviteGender: Int = 1,
|
||||
val inviteNick: String = "",
|
||||
val inviteUid: Long = 0,
|
||||
val propsId: Int = 0,
|
||||
val propsImg: String = "",
|
||||
val propsName: String = "",
|
||||
val propsPrice: Double = 0.0,
|
||||
val recommenTxtList: List<String>? = null,
|
||||
val replyExpireTime: Int = 0
|
||||
)
|
@@ -1,7 +1,5 @@
|
||||
package com.yizhuan.xchat_android_core.relation.cp
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
data class UserCpListEntity(
|
||||
val acceptUid: Long = 0,
|
||||
val acceptUserAvatar: String = "",
|
||||
@@ -21,7 +19,7 @@ data class UserCpListEntity(
|
||||
val propsImg: String = "",
|
||||
val propsName: String = "",
|
||||
val propsPrice: Double = 0.0,
|
||||
val state: Int = 0,//状态:1-邀请中,2-CP中,3-拒绝,4-解绑中,5-解绑完成
|
||||
val state: Int = 0,//状态:1-邀请中,2-CP中,3-拒绝,4-解绑中,5-解绑完成 6 已过期
|
||||
val unboundUid: Int = 0,//解绑人
|
||||
val updateTime: Long = 0
|
||||
)
|
Reference in New Issue
Block a user