增加提取castile到游戏的数据库表,定义API接口等;
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user