修复无法打开 PGC 详细页

fixed #167
This commit is contained in:
aaa1115910
2025-03-19 19:26:23 +08:00
parent 61fce762c7
commit a18744bfc8

View File

@ -111,8 +111,8 @@ data class Episode(
*/
@Serializable
data class EpisodeRights(
@SerialName("allow_demand")
val allowDemand: Int,
//@SerialName("allow_demand")
//val allowDemand: Int,
@SerialName("allow_dm")
val allowDm: Int,
@SerialName("allow_download")
@ -120,7 +120,7 @@ data class Episode(
@SerialName("area_limit")
val areaLimit: Int
) {
val isAllowDemand = allowDemand == 1
//val isAllowDemand = allowDemand == 1
val isAllowDm = allowDm == 1
val isAllowDownload = allowDownload == 1
val usAreaLimit = areaLimit == 1