修改问题
This commit is contained in:
parent
2e4c44d3f0
commit
9f11aeaf1d
|
|
@ -294,11 +294,12 @@ namespace CloudGaming.Code.Account
|
||||||
Extend = gameXiaoHao,
|
Extend = gameXiaoHao,
|
||||||
};
|
};
|
||||||
await cloudGamingBase.Dao.DaoUser.Context.AddAsync(userDiamondList);
|
await cloudGamingBase.Dao.DaoUser.Context.AddAsync(userDiamondList);
|
||||||
diamondListId = userDiamondList.Id;
|
|
||||||
}
|
}
|
||||||
userDiamondList.Consume += money;
|
userDiamondList.Consume += Math.Abs(money);
|
||||||
userDiamondList.UpdateAt = DateTime.Now;
|
userDiamondList.UpdateAt = DateTime.Now;
|
||||||
await cloudGamingBase.Dao.DaoUser.Context.SaveChangesAsync();
|
await cloudGamingBase.Dao.DaoUser.Context.SaveChangesAsync();
|
||||||
|
diamondListId = userDiamondList.Id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user