bugfix:修复糖果树购买糖果返回不刷新的问题

This commit is contained in:
huangjian
2023-01-10 16:44:53 +08:00
parent 3427999e29
commit 42aea570b3
3 changed files with 13 additions and 10 deletions

View File

@@ -119,12 +119,7 @@ public class PayModel extends BaseModel implements IPayModel {
if (jsonObject == null) return;
WalletInfo walletInfo = new WalletInfo();
walletInfo.setUid(jsonObject.getLong("uid"));
walletInfo.setDepositNum(jsonObject.getIntValue("depositNum"));
walletInfo.setDiamondNum(jsonObject.getLong("diamonds"));
walletInfo.setGoldNum(jsonObject.getIntValue("golds"));
walletInfo.setCrystals(jsonObject.getDoubleValue("crystals"));
walletInfo.nobleGoldNum = jsonObject.getDoubleValue("nobleGoldNum");
walletInfo.chargeGoldNum = jsonObject.getDoubleValue("chargeGoldNum");
walletInfo.setDiamondNum(jsonObject.getDoubleValue("diamonds"));
this.walletInfo = walletInfo;
// 兼容新版
setWalletInfo(walletInfo);