From e8deb61cad8a70f36b70da827d82e337023420e9 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 4 Aug 2022 16:17:28 +0800 Subject: [PATCH] pay --- business/jxstore/cms/order.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/business/jxstore/cms/order.go b/business/jxstore/cms/order.go index 35a876ab3..fb93e9c5a 100644 --- a/business/jxstore/cms/order.go +++ b/business/jxstore/cms/order.go @@ -206,9 +206,9 @@ func PayByBalance(ctx *jxcontext.Context, orderID string, isChoose, payType int, //} //更新订单状态 globals.SugarLogger.Debug("更新order状态") - temp_method := 1 - temp_status := 110 - if _, err := dao.SetOrderStatus(txDB, orderInfo.PayPrice, temp_method, temp_status, orderID); err != nil { + //temp_method := 1 + //temp_status := 110 + if _, err := dao.SetOrderStatus(txDB, orderInfo.PayPrice, 1, 110, orderID); err != nil { dao.Rollback(db, txDB) return nil, "更新order状态失败", err }