From 389e35399e7e89587480d8d404a03c6fcb35e290 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Fri, 19 Aug 2022 10:32:26 +0800 Subject: [PATCH] =?UTF-8?q?tl=20=E6=94=AF=E4=BB=98=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jx/localjx/order.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 5e8a61af9..43bcf7b79 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -3,6 +3,7 @@ package localjx import ( "errors" "fmt" + "git.rosy.net.cn/baseapi/platformapi/tiktok" "math" "regexp" "strings" @@ -325,9 +326,9 @@ func Pay4Order(ctx *jxcontext.Context, orderID int64, payType int, vendorPayType err = dao.CreateEntity(dao.GetDB(), orderPay) } case model.PayTypeTL: - //if subAppID == tiktok.TiktokAppId || subAppID == tiktok.TiktokJXDJAppID { - // subAppID = model.JXC4AppId // 京西商城 - //} + if subAppID == tiktok.TiktokAppId || subAppID == tiktok.TiktokJXDJAppID { + subAppID = model.JXC4AppId // 京西商城 + } if orderPay, err = pay4OrderByTL(ctx, order, payType, vendorPayType, subAppID); err == nil && orderPay != nil { dao.WrapAddIDCULDEntity(orderPay, ctx.GetUserName()) err = dao.CreateEntity(dao.GetDB(), orderPay)