特朗普头像任务

This commit is contained in:
lianghuanjie
2025-01-20 21:55:43 +08:00
parent 38bb283fa1
commit 9c742c50c3
18 changed files with 266 additions and 32 deletions

View File

@@ -26,7 +26,7 @@ service novatask {
@doc "领取任务奖励"
@handler GetTaskReward
get /reward/:id (TaskIdPath) returns (GetTaskRewardResp)
get /reward (GetTaskRewardReq) returns (GetTaskRewardResp)
@doc "拉取玩家持有的nft列表"
@handler GetNftList
@@ -81,8 +81,9 @@ type VerifyTaskResultReq {
Params string `form:"params,optional"` // 额外的参数
}
type TaskIdPath {
ID uint `path:"id"` // 任务ID
type GetTaskRewardReq {
ID uint `form:"id"` // 任务ID
RoleId int64 `form:"role_id,optional"` // 游戏角色ID
}
type VerifyTaskResultResp {