reopen nft holder reward and add new task

This commit is contained in:
yuexin 2024-04-20 02:01:44 +08:00
parent eeeaaca4ac
commit 2893619194
2 changed files with 47 additions and 13 deletions

View File

@ -17,7 +17,7 @@
"cfg": {"icon": "twitter"},
"start": "2024-01-01 00:00",
"end": "2025-01-01 00:00",
"checkChain": true,
"checkChain": false,
"params": {}
}, {
"id": "e2fclylj30vwcpe0szl",
@ -28,11 +28,11 @@
"category": "Social Tasks",
"score": 100,
"autoclaim": false,
"pretasks": [],
"pretasks": ["e2yhq2lj30vwcpedv7p"],
"cfg": {"account": "playCounterFire", "icon": "twitter"},
"start": "2024-01-01 00:00",
"end": "2025-01-01 00:00",
"checkChain": true,
"checkChain": false,
"params": {"time": 6, "failRate": 0}
}, {
"id": "e2far3lj30vwcpe0mh7",
@ -47,6 +47,7 @@
"cfg": {"icon": "discord"},
"start": "2024-01-01 00:00",
"end": "2025-01-01 00:00",
"checkChain": false,
"params": {}
},{
"id": "e2far3lj30vwcpe0mf8",
@ -57,41 +58,74 @@
"category": "Social Tasks",
"score": 100,
"autoclaim": false,
"pretasks": [],
"pretasks": ["e2far3lj30vwcpe0mh7"],
"cfg": {"icon": "discord", "account": "counterfire"},
"start": "2024-01-01 00:00",
"end": "2025-01-01 00:00",
"checkChain": true,
"checkChain": false,
"params": {"time": 6, "failRate": 0}
}, {
"id": "e2fuah0j30vwcpe0my7",
"task": "TwitterRetweet",
"title": "Retweet a tweet",
"title": "RT - Hill's Treasure Hunt",
"type": 1,
"desc": "Retweet specific tweets",
"category": "Social Tasks",
"score": 50,
"autoclaim": false,
"pretasks": [],
"pretasks": ["e2yhq2lj30vwcpedv7p"],
"cfg": {"icon": "twitter", "content": "1779507826714681538"},
"start": "2024-01-01 00:00",
"end": "2025-01-01 00:00",
"checkChain": true,
"checkChain": false,
"params": {"time": 6, "failRate": 0}
}, {
},
{
"id": "e2fuah0j30vwcpe0my9",
"task": "TwitterLike",
"title": "Like a tweet",
"title": "Like - Hill's Treasure Hunt",
"type": 1,
"desc": "Like specific tweets",
"category": "Social Tasks",
"score": 50,
"autoclaim": false,
"pretasks": [],
"pretasks": ["e2yhq2lj30vwcpedv7p"],
"cfg": {"icon": "twitter", "content": "1779507826714681538"},
"start": "2024-01-01 00:00",
"end": "2025-01-01 00:00",
"checkChain": true,
"checkChain": false,
"params": {"time": 6, "failRate": 0}
},
{
"id": "e2il5vwl0u2bl0uyxbq",
"task": "TwitterRetweet",
"title": "RT - Hill's Treasure Hunt #2",
"type": 1,
"desc": "Retweet specific tweets",
"category": "Social Tasks",
"score": 50,
"autoclaim": false,
"pretasks": ["e2yhq2lj30vwcpedv7p"],
"cfg": {"icon": "twitter", "content": "1781323951853228188"},
"start": "2024-01-01 00:00",
"end": "2025-01-01 00:00",
"checkChain": false,
"params": {"time": 6, "failRate": 0}
},
{
"id": "e27r3pxezl1z8idqzq5",
"task": "TwitterLike",
"title": "Like - Hill's Treasure Hunt #2",
"type": 1,
"desc": "Like specific tweets",
"category": "Social Tasks",
"score": 50,
"autoclaim": false,
"pretasks": ["e2yhq2lj30vwcpedv7p"],
"cfg": {"icon": "twitter", "content": "1781323951853228188"},
"start": "2024-01-01 00:00",
"end": "2025-01-01 00:00",
"checkChain": false,
"params": {"time": 6, "failRate": 0}
}
],

View File

@ -143,7 +143,7 @@ class NftController extends BaseController {
@router('post /api/partner/claim')
async claimNftHolderRewardDC(req) {
new SyncLocker().checkLock(req)
throw new ZError(20, 'maintance now, please try later')
// throw new ZError(20, 'maintance now, please try later')
logger.db('claim_partner', req)
const user = req.user