This commit is contained in:
parent
a4e9c589a3
commit
b1890121cd
|
@ -273,6 +273,7 @@ func (v *Vas) OpCreateOrder(ctx *gin.Context, req *vasproto.OpCreateOrderReq) (e
|
|||
coins = req.Coins
|
||||
order *dbstruct.Order
|
||||
)
|
||||
req.Money = coins / 10
|
||||
|
||||
// 检查钱包
|
||||
wallet, has := v.CheckWalletExist(ctx, mid)
|
||||
|
|
Loading…
Reference in New Issue