This commit is contained in:
aozhiwei 2024-08-08 09:47:36 +08:00
parent c815a019ac
commit 32d698e762

View File

@ -80,6 +80,7 @@ func (this *RechargeCurrencyTable) Load() {
netId := val
fileName := fmt.Sprintf("../config/currencys/%d/currency.json", netId)
if jsonStr, err := f5.ReadJsonFile(fileName); err == nil {
f5.GetSysLog().Info("load currency %s", fileName)
currencyCfg := struct {
CurrencyName string `json:"currency_name"`
ExchangeRate int64 `json:"exchange_rate"`