()
| 11 | } |
| 12 | |
| 13 | func TopupGroupRatio2JSONString() string { |
| 14 | jsonBytes, err := json.Marshal(TopupGroupRatio) |
| 15 | if err != nil { |
| 16 | SysError("error marshalling model ratio: " + err.Error()) |
| 17 | } |
| 18 | return string(jsonBytes) |
| 19 | } |
| 20 | |
| 21 | func UpdateTopupGroupRatioByJSONString(jsonStr string) error { |
| 22 | TopupGroupRatio = make(map[string]float64) |
no test coverage detected