fix: carv api param

This commit is contained in:
lianghuanjie
2025-01-09 11:47:51 +08:00
parent d42327bc28
commit 6acad51ebd
4 changed files with 129 additions and 29 deletions

View File

@@ -18,8 +18,10 @@ type Community struct {
}
type EmailKey struct {
Email string `form:"email"`
ApiKey string `header:"x-api-key"`
BeginTime int64 `form:"begin_time"` //begin_time
EndTime int64 `form:"end_time"` // end_time
Email string `form:"email"` // email
ApiKey string `header:"x-api-key"` // x-api-key
}
type EmailReward struct {
@@ -110,9 +112,11 @@ type UnStakeNftReq struct {
}
type UnlockChapterReq struct {
Email string `form:"email"`
Chapter int `form:"chapter"`
ApiKey string `header:"x-api-key"`
BeginTime int64 `form:"begin_time"` //begin_time
EndTime int64 `form:"end_time"` // end_time
Email string `form:"email"` // email
Chapter int `path:"chapter"` // 章节数
ApiKey string `header:"x-api-key"` // x-api-key
}
type UserNft struct {