Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Colter23 committed Feb 7, 2023
1 parent b4642e7 commit 03f3d0f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ data class ModuleDynamic(
val rid: Long,
@SerialName("title")
val title: String,
@SerialName("mid")
@SerialName("up_mid")
val mid: Long,
@SerialName("state")
val state: Int,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ suspend fun ModuleDynamic.Additional.makeGeneral(): Image? {
)
}

"ADDITIONAL_TYPE_UPOWER_LOTTERY" -> {
drawAdditionalCard(
"充电抽奖",
null,
lottery!!.title,
lottery.desc.text,
null
)
}

else -> {
logger.warning("未知类型附加卡片 $type")
null
Expand Down

0 comments on commit 03f3d0f

Please sign in to comment.