软质押增加奖励发放记录

This commit is contained in:
lianghuanjie
2025-01-08 16:25:48 +08:00
parent 29abba438c
commit 5c4862fd70
8 changed files with 189 additions and 2 deletions

View File

@@ -275,6 +275,28 @@
]
}
},
"/gapi/task/v1/nft/stake_reward": {
"get": {
"summary": "质押奖励发放列表",
"operationId": "StakeRewardList",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/StakeRewardList"
}
}
},
"tags": [
"task"
],
"security": [
{
"apiKey": []
}
]
}
},
"/gapi/task/v1/nft/unstake": {
"post": {
"summary": "取消质押NFT",
@@ -682,6 +704,40 @@
"token_ids"
]
},
"StakeReward": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": " 日期"
},
"reward": {
"type": "number",
"format": "double",
"description": " 当日发放奖励"
}
},
"title": "StakeReward",
"required": [
"date",
"reward"
]
},
"StakeRewardList": {
"type": "object",
"properties": {
"reward_list": {
"type": "array",
"items": {
"$ref": "#/definitions/StakeReward"
}
}
},
"title": "StakeRewardList",
"required": [
"reward_list"
]
},
"StakeTaskDetail": {
"type": "object",
"properties": {
@@ -712,6 +768,11 @@
"type": "number",
"format": "double",
"description": " 可领取代币数量"
},
"total_income_tokens": {
"type": "number",
"format": "double",
"description": " 累计收益"
}
},
"title": "StakeTaskDetail",
@@ -721,7 +782,8 @@
"count_down",
"produce_token_today",
"game_bonus",
"can_receive_tokens"
"can_receive_tokens",
"total_income_tokens"
]
},
"Task": {