This commit is contained in:
邹宗楠
2025-08-06 15:53:50 +08:00
parent 9877b78586
commit 22813b9b29
2 changed files with 5 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package jx
import (
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"strings"
"time"
@@ -51,6 +52,7 @@ func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *mod
_, err = localjx.RefundOrderByKS(ctx, orderPays[0], order.VendorOrderID, int(order.SkuUserMoney), reason)
}
if orderPays[0].PayType == model.PayTypeLaKaLa {
globals.SugarLogger.Debugf("-----order- := %s", utils.Format4Output(order, false))
_, err = localjx.RefundOrderByLaKaLa(ctx, orderPays[0], order, order.VendorOrderID, int(order.SkuUserMoney), reason)
}
if err != nil {