增加提取castile到游戏内的列表接口

This commit is contained in:
yuming88
2025-04-28 20:03:37 +08:00
parent d40cdda6ae
commit 95a4337ab3
7 changed files with 93 additions and 19 deletions

View File

@@ -241,7 +241,9 @@ type Task struct {
}
type TransferCastileToGameListReq struct {
RoleID int64 `json:"role_id,optional"` // 角色id
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"` // 每页数量
}
type TransferCastileToGameListResp struct {
@@ -255,10 +257,11 @@ type TransferCastileToGameReq struct {
}
type TransferCastileToGameResp struct {
Id int `json:"id"` // id
RoleID int64 `json:"role_id"` // 角色id
Amount int64 `json:"amount"` // 数量
Status int64 `json:"status"` // 状态
Id int `json:"id"` // id
RoleID int64 `json:"role_id"` // 角色id
Amount int64 `json:"amount"` // 数量
Status int64 `json:"status"` // 状态
CreatedAt string `json:"created_at"` // 创建时间
}
type UnStakeNftReq struct {