This commit is contained in:
lwl0608 2024-01-01 12:21:13 +08:00
parent a4e9c589a3
commit b1890121cd
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ func (v *Vas) OpCreateOrder(ctx *gin.Context, req *vasproto.OpCreateOrderReq) (e
coins = req.Coins coins = req.Coins
order *dbstruct.Order order *dbstruct.Order
) )
req.Money = coins / 10
// 检查钱包 // 检查钱包
wallet, has := v.CheckWalletExist(ctx, mid) wallet, has := v.CheckWalletExist(ctx, mid)