增加提取castile到游戏的数据库表,定义API接口等;

This commit is contained in:
yuming88
2025-04-28 14:12:44 +08:00
parent 109d76cd2e
commit e50137a90e
14 changed files with 692 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
// Code generated by goctl. DO NOT EDIT.
// goctl 1.7.6
// goctl 1.7.3
package types
@@ -240,6 +240,31 @@ type Task struct {
FinishState int8 `json:"finish_state"` // 0:未完成 1:待校验 2:已完成未领取 3:已领取 4:不可参与
}
type TransferCastileToGameListReq struct {
RoleID int64 `json:"role_id,optional"` // 角色id
}
type TransferCastileToGameListResp struct {
Total int `json:"total"` // 总数
List []TransferToGameLog `json:"list"` // 列表
}
type TransferCastileToGameReq struct {
RoleID int64 `json:"role_id"` // 角色id
Amount int64 `json:"amount"` // 数量
}
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"` // 状态
}
type UnStakeNftReq struct {
TokenId string `json:"token_id"` // nftID
}