This commit is contained in:
aozhiwei 2024-08-07 14:09:27 +08:00
parent 138c46f7f1
commit b82844d84c

View File

@ -11,4 +11,12 @@ type RechargeCurrency struct {
type RechargeCurrencyTable struct {
f5.IdMetaTable[RechargeCurrency]
selfConf *RechargeCurrency
}
func (this *RechargeCurrencyTable) PostInit1() {
this.selfConf = this.GetById(int64(0))
if this.selfConf == nil {
panic("无法读取recharge_currency.json")
}
}