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

@@ -19,13 +19,14 @@ type Community struct {
type EmailKey struct {
Email string `form:"email"`
ApiKey string `Header:"x-api-key"`
ApiKey string `header:"x-api-key"`
}
type EmailReward struct {
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"` // 备注
}
type Error struct {
@@ -101,7 +102,7 @@ type UnStakeNftReq struct {
type UnlockChapterReq struct {
Email string `form:"email"`
Chapter int `form:"chapter"`
ApiKey string `Header:"x-api-key"`
ApiKey string `header:"x-api-key"`
}
type UserNft struct {