From 3ed35a12ac80e04ccddf4a57b71a51546c72f6a4 Mon Sep 17 00:00:00 2001 From: MUEDSA <7676275+muedsa@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:07:08 +0800 Subject: [PATCH] fix: json to object error --- .../kotlin/com/muedsa/agetv/service/AgeVipPlayerApiService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/muedsa/agetv/service/AgeVipPlayerApiService.kt b/app/src/main/kotlin/com/muedsa/agetv/service/AgeVipPlayerApiService.kt index 250a2ec..247ab86 100644 --- a/app/src/main/kotlin/com/muedsa/agetv/service/AgeVipPlayerApiService.kt +++ b/app/src/main/kotlin/com/muedsa/agetv/service/AgeVipPlayerApiService.kt @@ -51,7 +51,7 @@ interface AgeVipPlayerApiService { data class PlayUrlResp( @SerialName("code") val code: Int = -200, @SerialName("msg") val msg: String = "", - @SerialName("success") val success: Int = 0, + // @SerialName("success") val success: Int = 0, // 暂时注释 接口有时返回Int有时返回String @SerialName("player") val player: String = "", @SerialName("type") val type: String = "", @SerialName("url") val url: String = "",