1
This commit is contained in:
parent
ca1bf9d3f0
commit
6810b936e4
@ -104,7 +104,7 @@ func (this *RechargeCurrencyTable) PostInit1() {
|
|||||||
currencyMeta := val
|
currencyMeta := val
|
||||||
Table.Recharge.Traverse(func(ele *Recharge) bool {
|
Table.Recharge.Traverse(func(ele *Recharge) bool {
|
||||||
if int64(ele.GetPrice()) * currencyMeta.GetExchangeRate() != int64(ele.GetDiamond()) {
|
if int64(ele.GetPrice()) * currencyMeta.GetExchangeRate() != int64(ele.GetDiamond()) {
|
||||||
panic(fmt.Sprintf("load metafile json decode error %s %s", "currency.json", netId))
|
panic(fmt.Sprintf("RechargeCurrency verifyerror net_id:%d id:%d", netId, ele.GetId()))
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user