feat: publish sanitized custom.97 source

This commit is contained in:
cneicy committed 2026-10-27 20:43:39 +08:00
1 parent 8e6ed0317b
commit 86c0276156
1022 files changed
+69903 -19207

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@ func TopupGroupRatio2JSONString() string {
defer topupGroupRatioMutex.RUnlock()
jsonBytes, err := json.Marshal(topupGroupRatio)
if err != nil {
SysError("error marshalling topup group ratio: " + err.Error())
SysError(LogText("error marshalling topup group ratio: %s", err.Error()))
}
return string(jsonBytes)
}
@@ -34,7 +34,7 @@ func GetTopupGroupRatio(name string) float64 {
defer topupGroupRatioMutex.RUnlock()
ratio, ok := topupGroupRatio[name]
if !ok {
SysError("topup group ratio not found: " + name)
SysError(LogText("topup group ratio not found: %s", name))
return 1
}
return ratio