MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / TopupGroupRatio2JSONString

Function TopupGroupRatio2JSONString

common/topup-ratio.go:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13func 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
21func UpdateTopupGroupRatioByJSONString(jsonStr string) error {
22 TopupGroupRatio = make(map[string]float64)

Callers 1

InitOptionMapFunction · 0.92

Calls 2

SysErrorFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected