Commit e6852792 by CaIon

fix: ratio render

parent fd943659
...@@ -35,7 +35,7 @@ func (p PriceData) ToSetting() string { ...@@ -35,7 +35,7 @@ func (p PriceData) ToSetting() string {
func HandleGroupRatio(ctx *gin.Context, relayInfo *relaycommon.RelayInfo) GroupRatioInfo { func HandleGroupRatio(ctx *gin.Context, relayInfo *relaycommon.RelayInfo) GroupRatioInfo {
groupRatioInfo := GroupRatioInfo{ groupRatioInfo := GroupRatioInfo{
GroupRatio: 1.0, // default ratio GroupRatio: 1.0, // default ratio
GroupSpecialRatio: 1.0, // default user group ratio GroupSpecialRatio: -1,
} }
// check auto group // check auto group
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment