增加提取castile到游戏的逻辑。

This commit is contained in:
yuming88
2025-04-28 19:26:17 +08:00
parent e50137a90e
commit d40cdda6ae
11 changed files with 205 additions and 73 deletions

View File

@@ -245,24 +245,20 @@ type TransferCastileToGameListReq struct {
}
type TransferCastileToGameListResp struct {
Total int `json:"total"` // 总数
List []TransferToGameLog `json:"list"` // 列表
Total int `json:"total"` // 总数
List []TransferCastileToGameResp `json:"list"` // 列表
}
type TransferCastileToGameReq struct {
RoleID int64 `json:"role_id"` // 角色id
Amount int64 `json:"amount"` // 数量
RoleID int64 `json:"role_id"` // 角色id
Amount int64 `json:"amount,range=[1:]"` // 数量
}
type TransferCastileToGameResp struct {
TransferToGameLog
}
type TransferToGameLog struct {
Id int `json:"id"` // id
RoleID int64 `json:"role_id"` // 角色id
Amount int64 `json:"amount"` // 数量
Status string `json:"elf_name"` // 状态
Id int `json:"id"` // id
RoleID int64 `json:"role_id"` // 角色id
Amount int64 `json:"amount"` // 数量
Status int64 `json:"status"` // 状态
}
type UnStakeNftReq struct {