软质押增加奖励发放记录

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

@@ -107,6 +107,12 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/nft/stake",
Handler: task.StakeNftHandler(serverCtx),
},
{
// 质押奖励发放列表
Method: http.MethodGet,
Path: "/nft/stake_reward",
Handler: task.StakeRewardListHandler(serverCtx),
},
{
// 取消质押NFT
Method: http.MethodPost,