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,