Browse Source

fix: ratio render

CaIon 6 months ago
parent
commit
8e9dae7b5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      relay/helper/price.go

+ 1 - 1
relay/helper/price.go

@@ -35,7 +35,7 @@ func (p PriceData) ToSetting() string {
 func HandleGroupRatio(ctx *gin.Context, relayInfo *relaycommon.RelayInfo) GroupRatioInfo {
 	groupRatioInfo := GroupRatioInfo{
 		GroupRatio:        1.0, // default ratio
-		GroupSpecialRatio: 1.0, // default user group ratio
+		GroupSpecialRatio: -1,
 	}
 
 	// check auto group