通联宝支付测试

This commit is contained in:
苏尹岚
2020-02-28 11:19:27 +08:00
parent 9821123c08
commit 0fd69d25e1
2 changed files with 14 additions and 15 deletions

View File

@@ -587,7 +587,6 @@ func CancelOrder(ctx *jxcontext.Context, order *model.GoodsOrder, reason string)
db := dao.GetDB()
payList, err2 := dao.GetOrderPayList(db, order.VendorOrderID, jxutils.GetPossibleVendorIDFromVendorOrderID(order.VendorOrderID))
if err = err2; err == nil {
globals.SugarLogger.Debugf("CancelOrderTL1, [%v]", payList)
for _, orderPay := range payList {
globals.SugarLogger.Debugf("CancelOrderTL2, [%v]", *orderPay)
if orderPay.Status == model.PayStatusYes {