修复group为空
This commit is contained in:
parent
30776b55f0
commit
e84c0c4bf6
@ -13,7 +13,7 @@ func SaleRatio2JSONString() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func UpdateSaleRatioByJSONString(jsonStr string) error {
|
func UpdateSaleRatioByJSONString(jsonStr string) error {
|
||||||
GroupRatio = make(map[string]float64)
|
SaleRatio = make(map[string]float64)
|
||||||
return json.Unmarshal([]byte(jsonStr), &SaleRatio)
|
return json.Unmarshal([]byte(jsonStr), &SaleRatio)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user