增加提取castile到游戏内的列表接口
This commit is contained in:
@@ -12,7 +12,7 @@ service novatask {
|
||||
|
||||
@doc "获取提取castile到游戏的记录"
|
||||
@handler TransferCastileToGameList
|
||||
post /list (TransferCastileToGameListReq) returns (TransferCastileToGameResp)
|
||||
post /list (TransferCastileToGameListReq) returns (TransferCastileToGameListResp)
|
||||
}
|
||||
|
||||
type TransferCastileToGameReq {
|
||||
@@ -22,13 +22,16 @@ type TransferCastileToGameReq {
|
||||
|
||||
type TransferCastileToGameListReq {
|
||||
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 TransferCastileToGameResp {
|
||||
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 TransferCastileToGameListResp {
|
||||
|
||||
@@ -903,7 +903,7 @@
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/TransferCastileToGameResp"
|
||||
"$ref": "#/definitions/TransferCastileToGameListResp"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -920,6 +920,9 @@
|
||||
"tags": [
|
||||
"transfercastile"
|
||||
],
|
||||
"consumes": [
|
||||
"multipart/form-data"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
"apiKey": []
|
||||
@@ -1930,6 +1933,20 @@
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": " 角色id"
|
||||
},
|
||||
"page": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"default": "1",
|
||||
"description": " 页码"
|
||||
},
|
||||
"size": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"default": "10",
|
||||
"description": " 每页数量",
|
||||
"maximum": 100,
|
||||
"minimum": 10
|
||||
}
|
||||
},
|
||||
"title": "TransferCastileToGameListReq"
|
||||
@@ -1998,6 +2015,10 @@
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": " 状态"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string",
|
||||
"description": " 创建时间"
|
||||
}
|
||||
},
|
||||
"title": "TransferCastileToGameResp",
|
||||
@@ -2005,7 +2026,8 @@
|
||||
"id",
|
||||
"role_id",
|
||||
"amount",
|
||||
"status"
|
||||
"status",
|
||||
"created_at"
|
||||
]
|
||||
},
|
||||
"UnStakeNftReq": {
|
||||
|
||||
Reference in New Issue
Block a user