feat(publish): 德穆兰选项支持后台开关并默认打开下赛季通行证
This commit is contained in:
@@ -3,8 +3,10 @@ package systemconfig
|
||||
import "encoding/json"
|
||||
|
||||
const (
|
||||
// publishOptionsSchemaVersion 发布选项结构版本;v2 新增「是否解锁德穆兰」开关(默认关闭),
|
||||
// 并把「下赛季是否购买通行证」默认打开。
|
||||
publishOptionsSchemaVersion = 2
|
||||
publishOptionsConfigKey = "listing.publish_options"
|
||||
publishOptionsSchemaVersion = 1
|
||||
)
|
||||
|
||||
func defaultPublishOptionsConfigValue() string {
|
||||
@@ -18,7 +20,8 @@ func defaultPublishOptionsConfigValue() string {
|
||||
func DefaultPublishOptions() PublishOptionsDTO {
|
||||
return PublishOptionsDTO{
|
||||
SchemaVersion: publishOptionsSchemaVersion,
|
||||
NextSeasonPassEnabled: false,
|
||||
UnlockDemulanEnabled: false,
|
||||
NextSeasonPassEnabled: true,
|
||||
ServerOptions: []string{"QQ", "微信", "Steam"},
|
||||
FaceOptions: []string{"是", "否"},
|
||||
RankOptions: []string{"青铜", "白银", "黄金", "铂金", "钻石", "黑鹰", "三角洲巅峰"},
|
||||
|
||||
Reference in New Issue
Block a user