增加提取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

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