This commit is contained in:
邹宗楠
2025-08-08 17:51:55 +08:00
parent ca8e695ed2
commit eb385cfb90
2 changed files with 2 additions and 1 deletions

View File

@@ -754,6 +754,7 @@ func CreateOrder(ctx *jxcontext.Context, vendorOrderID, merchantNo, callbackUrl
NotifyUrl: lakala.OrderStatusCallback,
SupportRepeatPay: 1,
CallbackUrl: callbackUrl,
SupportRefund: 1,
}
result, err := api.LaKaLaApi.CreateOrder(param)

View File

@@ -123,7 +123,7 @@ func RefundOrderByLaKaLa(ctx *jxcontext.Context, orderPay *model.OrderPay, afsOr
OutTradeNo: afsOrder.AfsOrderID,
RefundAmount: utils.Int2Str(refundFee),
RefundReason: refundDesc,
OriginOutTradeNo: "",
OriginOutTradeNo: order.VendorOrderID,
OriginTradeNo: "",
OriginLogNo: order.VendorOrderID2,
LocationInfo: lakala.LocationInfoObj{RequestIp: ctx.GetRealRemoteIP()},