更新
This commit is contained in:
@@ -43,9 +43,10 @@ data class Moment(
|
||||
val time: String
|
||||
) {
|
||||
fun toMomentItem(): MomentEntity {
|
||||
val avatar = ApiClient.BASE_SERVER + user.avatar + "?token=${AppStore.token}"
|
||||
return MomentEntity(
|
||||
id = id.toInt(),
|
||||
avatar = ApiClient.BASE_SERVER + user.avatar,
|
||||
avatar = ApiClient.BASE_SERVER + user.avatar + "?token=${AppStore.token}",
|
||||
nickname = user.nickName,
|
||||
location = "Worldwide",
|
||||
time = time,
|
||||
|
||||
Reference in New Issue
Block a user