Merge branch 'lixing' into dev
This commit is contained in:
@@ -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` //已转回游戏内的数量
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user