From bcfe5096b3a0719f013fd7480ac0b7c609f16244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 26 May 2023 15:04:03 +0800 Subject: [PATCH] 1 --- business/partner/purchase/jx/localjx/kuaishou_pay.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/business/partner/purchase/jx/localjx/kuaishou_pay.go b/business/partner/purchase/jx/localjx/kuaishou_pay.go index 1cd8dcf8e..47243e554 100644 --- a/business/partner/purchase/jx/localjx/kuaishou_pay.go +++ b/business/partner/purchase/jx/localjx/kuaishou_pay.go @@ -62,7 +62,6 @@ func pay4OrderByKs(ctx *jxcontext.Context, order *model.GoodsOrder, vendorPayTyp } // 预下单 prePayInfo, err := api.KuaiShouApi.PreCreateOrder(param) - globals.SugarLogger.Debugf("=======err : %v", err) if err == nil { orderPay = &model.OrderPay{ PayOrderID: order.VendorOrderID, // 抖音订单id @@ -72,8 +71,8 @@ func pay4OrderByKs(ctx *jxcontext.Context, order *model.GoodsOrder, vendorPayTyp VendorID: order.VendorID, Status: 0, PayCreatedAt: time.Now(), - PrepayID: "", - CodeURL: prePayInfo, // 抖音支付token + PrepayID: prePayInfo.OrderInfoToken, + CodeURL: prePayInfo.OrderNo, // 抖音支付token TotalFee: int(order.ActualPayPrice), } }