根据地址修复质押接口
This commit is contained in:
@@ -25,6 +25,10 @@ service novatask {
|
||||
@doc "修正 NFT 质押者"
|
||||
@handler FixNftStaker
|
||||
get /fix_nft_staker
|
||||
|
||||
@doc "根据地址修复质押"
|
||||
@handler StakeByAddress
|
||||
post /stake_by_address (StakeByAddressReq)
|
||||
}
|
||||
|
||||
type EmailReward {
|
||||
@@ -38,3 +42,7 @@ type StakeSettleReq {
|
||||
Date string `form:"date"`
|
||||
}
|
||||
|
||||
type StakeByAddressReq {
|
||||
Address []string `json:"address"`
|
||||
}
|
||||
|
||||
|
||||
@@ -84,6 +84,31 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/gapi/admin/stake_by_address": {
|
||||
"post": {
|
||||
"summary": "根据地址修复质押",
|
||||
"operationId": "StakeByAddress",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/StakeByAddressReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"admin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/gapi/admin/stake_settle": {
|
||||
"get": {
|
||||
"summary": "软质压手动结算",
|
||||
@@ -888,6 +913,21 @@
|
||||
"isValid"
|
||||
]
|
||||
},
|
||||
"StakeByAddressReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"address": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": "StakeByAddressReq",
|
||||
"required": [
|
||||
"address"
|
||||
]
|
||||
},
|
||||
"StakeNftList": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user