From b1890121cddf5b17f8b99f58867190b2661df28d Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Mon, 1 Jan 2024 12:21:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/mix/service/logic/vas.go | 1 + 1 file changed, 1 insertion(+) 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)