1
This commit is contained in:
parent
c815a019ac
commit
32d698e762
@ -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"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user