diff --git a/app/mix/service/logic/vas.go b/app/mix/service/logic/vas.go index 60c9293d..bfc7ee7c 100644 --- a/app/mix/service/logic/vas.go +++ b/app/mix/service/logic/vas.go @@ -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)