From 0755b14aa24ee69331a2bc3d5d821e3d1e4019fe Mon Sep 17 00:00:00 2001 From: Rzy <465386466@qq.com> Date: Thu, 8 Aug 2024 16:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/thirdpay/do/pay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/thirdpay/do/pay.go b/app/services/thirdpay/do/pay.go index 1a3e85f..d87a09f 100644 --- a/app/services/thirdpay/do/pay.go +++ b/app/services/thirdpay/do/pay.go @@ -37,7 +37,7 @@ func (w *Pay) CreateOrder(order_type int) { w.Order, w.PayCode = services.OrderCreate(&ordersmodel.Orders{ MerchantId: w.paycheck.Merchant.Id, PayChannelId: w.paycheck.Channel.Id, - AppId: w.paycheck.Channel.Id, + AppId: w.paycheck.Reqs.AppId, OutTreadNo: w.paycheck.Reqs.OutTradeNo, OrderType: order_type, Amount: w.paycheck.Reqs.Amount,