feat: 积分质押增加字段

This commit is contained in:
2025-05-29 15:51:28 +08:00
parent a37471d015
commit 4f2e8527a8
4 changed files with 25 additions and 10 deletions

View File

@@ -38,11 +38,12 @@ type StakeLevel {
Id int `json:"id"`
Title string `json:"title"` // 档位标题
Level int `json:"level"` // 精灵等级
ElfName string `json:"elf_name"` // 精灵名称
Points int `json:"points"` // 积分数量
Days float64 `json:"days"` // 质押天数
RenewDays float64 `json:"renew_days"` // 续期天数
StartTime string `json:"start_time"` // 开始时间
EndTime string `json:"end_time"` // 结束时间
StartTime int64 `json:"start_time"` // 开始时间
EndTime int64 `json:"end_time"` // 结束时间
CanRenew bool `json:"can_renew"` // 是否可续约
}

View File

@@ -1596,6 +1596,10 @@
"format": "int32",
"description": " 精灵等级"
},
"elf_name": {
"type": "string",
"description": " 精灵名称"
},
"points": {
"type": "integer",
"format": "int32",
@@ -1612,11 +1616,13 @@
"description": " 续期天数"
},
"start_time": {
"type": "string",
"type": "integer",
"format": "int64",
"description": " 开始时间"
},
"end_time": {
"type": "string",
"type": "integer",
"format": "int64",
"description": " 结束时间"
},
"can_renew": {
@@ -1630,6 +1636,7 @@
"id",
"title",
"level",
"elf_name",
"points",
"days",
"renew_days",