fix(order): 开放普通等级租用极品专区
This commit is contained in:
@@ -629,13 +629,9 @@ func LevelForUserAfterPoints(cfg Config, points int64, override string) LevelRul
|
||||
return LevelForPoints(cfg, points)
|
||||
}
|
||||
|
||||
func CanViewPremiumLevel(code string) bool {
|
||||
switch strings.TrimSpace(code) {
|
||||
case "platinum", "diamond", "peak":
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
// CanViewPremiumLevel 保留兼容语义,极品专区不再设置成长等级门槛。
|
||||
func CanViewPremiumLevel(_ string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func EffectiveDepositFreeQuotaCent(levelQuotaCent int64, manualQuotaCent int64) int64 {
|
||||
|
||||
Reference in New Issue
Block a user