nft task reward
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user