diff --git a/business/jxstore/cms/order.go b/business/jxstore/cms/order.go index 5c373b3c0..7ffe7ff8d 100644 --- a/business/jxstore/cms/order.go +++ b/business/jxstore/cms/order.go @@ -99,6 +99,7 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app return result, fmt.Errorf("未找到此订单!") } payHandler.Order = order + globals.SugarLogger.Debug("order.payprice==================", payHandler.Order.PayPrice) //如果用户没有对应账单信息就给他生成一条 txDB, _ := dao.Begin(db) defer func() { diff --git a/business/jxstore/financial/financial.go b/business/jxstore/financial/financial.go index 6b4043109..b5709f61a 100644 --- a/business/jxstore/financial/financial.go +++ b/business/jxstore/financial/financial.go @@ -271,7 +271,7 @@ func onTLpayFinished(call *tonglianpayapi.CallBackResult) (err error) { //充值会员 增加微信支付处理业务 if (order.OrderType == 2 || order.OrderType == 5) && call.TrxStatus == tonglianpayapi.TrxStatusSuccess { return OnWXPayFinished(order) - } else if order.OrderType == 3 { + } else if order.OrderType == 3 && call.TrxStatus == tonglianpayapi.TrxStatusSuccess { txdb, _ := dao.Begin(db) defer func() { if r := recover(); r != nil {