通联宝退款测试
This commit is contained in:
@@ -587,7 +587,9 @@ 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 {
|
||||
// refundID := utils.Int64ToStr(GenRefundID(order))
|
||||
refundID := order.VendorOrderID
|
||||
|
||||
Reference in New Issue
Block a user