diff --git a/common/sale-ratio.go b/common/sale-ratio.go index 671d6eda..0948b6be 100644 --- a/common/sale-ratio.go +++ b/common/sale-ratio.go @@ -13,7 +13,7 @@ func SaleRatio2JSONString() string { } func UpdateSaleRatioByJSONString(jsonStr string) error { - GroupRatio = make(map[string]float64) + SaleRatio = make(map[string]float64) return json.Unmarshal([]byte(jsonStr), &SaleRatio) }