fix: INVITE USER

This commit is contained in:
lianghuanjie
2025-01-06 19:45:03 +08:00
parent af258d2207
commit c540744176
12 changed files with 344 additions and 39 deletions

View File

@@ -6,7 +6,7 @@ syntax = "v1"
group: admin
)
service novatask {
@doc "每日钱包签到任务"
@doc "给指定邮箱增加待发放奖励"
@handler AddEmailReward
post /email_reward (EmailReward)
@@ -16,8 +16,9 @@ service novatask {
}
type EmailReward {
Email string `json:"email"`
RewardType string `json:"reward_type"`
Value float64 `json:"value"`
Email string `json:"email"` // 邮箱,多个邮箱分号隔开
RewardType string `json:"reward_type"` // 奖励类型: points elite_points castile keys
Value float64 `json:"value"` // 数量
Remark string `json:"remark"` // 备注
}

View File

@@ -39,12 +39,12 @@ type CarvResult {
type EmailKey {
Email string `form:"email"`
ApiKey string `Header:"x-api-key"`
ApiKey string `header:"x-api-key"`
}
type UnlockChapterReq {
Email string `form:"email"`
Chapter int `form:"chapter"`
ApiKey string `Header:"x-api-key"`
ApiKey string `header:"x-api-key"`
}