This commit is contained in:
aozhiwei 2024-08-08 09:43:04 +08:00
parent 6810b936e4
commit c815a019ac
2 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func (this *RechargeCurrencyTable) Load() {
{ {
for _, val := range nets { for _, val := range nets {
netId := val netId := val
fileName := fmt.Sprintf("../config/nets/%d/currency.json", netId) fileName := fmt.Sprintf("../config/currencys/%d/currency.json", netId)
if jsonStr, err := f5.ReadJsonFile(fileName); err == nil { if jsonStr, err := f5.ReadJsonFile(fileName); err == nil {
currencyCfg := struct { currencyCfg := struct {
CurrencyName string `json:"currency_name"` CurrencyName string `json:"currency_name"`