nft task reward

This commit is contained in:
lianghuanjie
2024-12-31 20:39:02 +08:00
parent 029289e84c
commit ea86ab71e8
20 changed files with 945 additions and 170 deletions

View File

@@ -106,9 +106,20 @@
}
}
},
"parameters": [
{
"name": "wallet_address",
"in": "query",
"required": true,
"type": "string"
}
],
"tags": [
"task"
],
"consumes": [
"multipart/form-data"
],
"security": [
{
"apiKey": []
@@ -299,6 +310,18 @@
"community_list"
]
},
"GetNftListReq": {
"type": "object",
"properties": {
"wallet_address": {
"type": "string"
}
},
"title": "GetNftListReq",
"required": [
"wallet_address"
]
},
"GetTaskListReq": {
"type": "object",
"properties": {
@@ -342,6 +365,11 @@
"StakeNftList": {
"type": "object",
"properties": {
"role_id": {
"type": "integer",
"format": "int64",
"description": " 角色id"
},
"token_ids": {
"type": "array",
"items": {
@@ -352,6 +380,7 @@
},
"title": "StakeNftList",
"required": [
"role_id",
"token_ids"
]
},
@@ -517,6 +546,10 @@
"type": "string",
"description": " nftID"
},
"image": {
"type": "string",
"description": " nft图片"
},
"has_stake": {
"type": "boolean",
"format": "boolean",
@@ -525,13 +558,20 @@
"stake_at": {
"type": "string",
"description": " 质押时间"
},
"role_id": {
"type": "integer",
"format": "int64",
"description": " 角色id"
}
},
"title": "UserNft",
"required": [
"token_id",
"image",
"has_stake",
"stake_at"
"stake_at",
"role_id"
]
},
"UserNftList": {