先锋赛季账号汇总数据接口
This commit is contained in:
@@ -47,6 +47,10 @@ service novatask {
|
||||
@doc "质押奖励发放列表"
|
||||
@handler StakeRewardList
|
||||
get /nft/stake_reward returns (StakeRewardList)
|
||||
|
||||
@doc "赛季奖励数据"
|
||||
@handler PioneerReward
|
||||
get /pioneer_reward returns (PioneerReward)
|
||||
}
|
||||
|
||||
type GetTaskListReq {
|
||||
@@ -156,3 +160,11 @@ type StakeRewardList {
|
||||
RewardList []StakeReward `json:"reward_list"`
|
||||
}
|
||||
|
||||
type PioneerReward {
|
||||
InGame float64 `json:"in_game"` // 游戏代币
|
||||
Stake float64 `json:"stake"` // 挖矿代币
|
||||
Ambassador float64 `json:"ambassador"` // 大使额外代币
|
||||
NftBonus float64 `json:"nft_bonus"` // nft 加成
|
||||
Total float64 `json:"total"` // 总额
|
||||
}
|
||||
|
||||
|
||||
@@ -571,6 +571,28 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/gapi/task/v1/pioneer_reward": {
|
||||
"get": {
|
||||
"summary": "赛季奖励数据",
|
||||
"operationId": "PioneerReward",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/PioneerReward"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"task"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
"apiKey": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/gapi/task/v1/reward": {
|
||||
"get": {
|
||||
"summary": "领取任务奖励",
|
||||
@@ -1046,6 +1068,44 @@
|
||||
"type"
|
||||
]
|
||||
},
|
||||
"PioneerReward": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"in_game": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": " 游戏代币"
|
||||
},
|
||||
"stake": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": " 挖矿代币"
|
||||
},
|
||||
"ambassador": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": " 大使额外代币"
|
||||
},
|
||||
"nft_bonus": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": " nft 加成"
|
||||
},
|
||||
"total": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": " 总额"
|
||||
}
|
||||
},
|
||||
"title": "PioneerReward",
|
||||
"required": [
|
||||
"in_game",
|
||||
"stake",
|
||||
"ambassador",
|
||||
"nft_bonus",
|
||||
"total"
|
||||
]
|
||||
},
|
||||
"Result": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user