fix: correct JSON payload key for gacha pull RPC and update gacha panel UI labels

This commit is contained in:
2026-07-06 14:37:22 +08:00
parent af6870f6a9
commit acd927eef6
4 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -181,8 +181,8 @@ func respond_friend_request(target_id: String, accept: bool) -> Dictionary:
var payload = JSON.stringify({"target_user_id": target_id, "accept": accept})
return await api_rpc_async("respond_friend_request", payload)
func perform_gacha_pull(gacha_id: String, count: int) -> Dictionary:
var payload = JSON.stringify({"gacha_id": gacha_id, "count": count})
func perform_gacha_pull(banner_id: String, count: int) -> Dictionary:
var payload = JSON.stringify({"banner_id": banner_id, "count": count})
return await api_rpc_async("perform_gacha_pull", payload)
func get_mail(payload: String = "{}") -> Dictionary: