智能体列表,全部
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.aiosman.ravenow.data
|
||||
|
||||
import com.aiosman.ravenow.AppStore
|
||||
import com.aiosman.ravenow.data.api.ApiClient
|
||||
import com.aiosman.ravenow.entity.AgentEntity
|
||||
import com.aiosman.ravenow.entity.ProfileEntity
|
||||
@@ -22,8 +23,6 @@ data class Agent(
|
||||
val isPublic: Boolean,
|
||||
@SerializedName("openId")
|
||||
val openId: String,
|
||||
@SerializedName("profile")
|
||||
val profile: Profile,
|
||||
@SerializedName("title")
|
||||
val title: String,
|
||||
@SerializedName("updatedAt")
|
||||
@@ -38,13 +37,12 @@ data class Agent(
|
||||
desc = desc,
|
||||
createdAt = createdAt,
|
||||
updatedAt = updatedAt,
|
||||
avatar = "${ApiClient.BASE_SERVER}$avatar",
|
||||
author = author,
|
||||
avatar = "${ApiClient.BASE_API_URL+"/outside"}$avatar"+"?token="+"Bearer ${AppStore.token}",
|
||||
//author = author,
|
||||
isPublic = isPublic,
|
||||
openId = openId,
|
||||
breakMode = breakMode,
|
||||
useCount = useCount,
|
||||
profile = profile.toProfileEntity(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user