更新个人主页

This commit is contained in:
2024-09-29 23:17:59 +08:00
parent 2497698f27
commit 2c6af2ad94
18 changed files with 863 additions and 2483 deletions

View File

@@ -119,6 +119,15 @@ data class AppConfig(
val trtcAppId: Int,
)
data class DictItem(
@SerializedName("key")
val key: String,
@SerializedName("value")
val value: String,
@SerializedName("desc")
val desc: String,
)
interface RiderProAPI {
@POST("register")
suspend fun register(@Body body: RegisterRequestBody): Response<Unit>
@@ -322,4 +331,9 @@ interface RiderProAPI {
@GET("app/info")
suspend fun getAppConfig(): Response<DataContainer<AppConfig>>
@GET("dict")
suspend fun getDict(
@Query("key") key: String
): Response<DataContainer<DictItem>>
}