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

@@ -242,8 +242,8 @@ type Task struct {
type TransferCastileToGameListReq struct {
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 TransferCastileToGameListResp struct {
@@ -277,9 +277,9 @@ type UnlockChapterReq struct {
}
type UserCastileBalanceResp struct {
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当前余额
}
type UserNft struct {