Merge branch 'lixing' into dev

This commit is contained in:
2025-05-06 20:37:02 +08:00
5 changed files with 103 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ service novatask {
@doc "获取提取castile到游戏的记录"
@handler TransferCastileToGameList
post /list (TransferCastileToGameListReq) returns (TransferCastileToGameListResp)
@doc "查询castile代币余额"
@handler GetCastileBalance
post /getBalance returns (UserCastileBalanceResp)
}
type TransferCastileToGameReq {
@@ -39,3 +43,8 @@ type TransferCastileToGameListResp {
List []TransferCastileToGameResp `json:"list"` // 列表
}
type UserCastileBalanceResp {
TotalCastile int `json:total_castile` //总数
TransferAmount int `json:transfer_amount` //已转回游戏内的数量
}