积分档位增加精灵配置

This commit is contained in:
2025-04-27 14:55:38 +08:00
parent a22b45eb2f
commit 109d76cd2e
5 changed files with 23 additions and 4 deletions

View File

@@ -26,10 +26,12 @@ type GetStakeLevelListReq {
type PointStakeLevel {
Id int `json:"id"` // 档位id
Title string `json:"title"` // 档位标题
ElfName string `json:"elf_name"` // 精灵名称
Level int `json:"level"` // 精灵等级
Points int `json:"points"` // 积分数量
Days float64 `json:"days"` // 质押天数
RenewDays float64 `json:"renew_days"` // 续期天数
Rate float64 `json:"rate"` // 返利比率
}
type StakeLevel {

View File

@@ -1425,6 +1425,10 @@
"type": "string",
"description": " 档位标题"
},
"elf_name": {
"type": "string",
"description": " 精灵名称"
},
"level": {
"type": "integer",
"format": "int32",
@@ -1444,16 +1448,23 @@
"type": "number",
"format": "double",
"description": " 续期天数"
},
"rate": {
"type": "number",
"format": "double",
"description": " 返利比率"
}
},
"title": "PointStakeLevel",
"required": [
"id",
"title",
"elf_name",
"level",
"points",
"days",
"renew_days"
"renew_days",
"rate"
]
},
"Result": {