fix: list arg

This commit is contained in:
2025-05-07 16:14:23 +08:00
parent eeac0b6b2c
commit c1ddd85fd5
4 changed files with 58 additions and 21 deletions

View File

@@ -7,10 +7,3 @@ import "game7.api"
import "kgen.api"
import "stakepoint.api"
import "transfercastile.api"
info (
desc: "nova api"
author: "jager"
email: "lhj168os@gmail.com"
)

View File

@@ -26,8 +26,8 @@ type TransferCastileToGameReq {
type TransferCastileToGameListReq {
RoleID int64 `json:"role_id,optional"` // 角色id
Page int `form:"page,range=[1:],optional,default=1"` // 页码
Size int `form:"size,range=[10:100],optional,default=10"` // 每页数量
Page int `json:"page,range=[1:],optional,default=1"` // 页码
Size int `json:"size,range=[10:100],optional,default=10"` // 每页数量
}
type TransferCastileToGameResp {
@@ -44,8 +44,8 @@ type TransferCastileToGameListResp {
}
type UserCastileBalanceResp {
TotalCastile int `json:total_castile` //总数
TransferAmount int `json:transfer_amount` //已转回游戏内的数量
TotalBalance int `json:total_balance` //castile当前余额
TotalCastile int `json:"total_castile"` //总数
TransferAmount int `json:"transfer_amount"` //已转回游戏内的数量
TotalBalance int `json:"total_balance"` //castile当前余额
}