This commit is contained in:
邹宗楠
2025-08-05 10:47:00 +08:00
parent f50d5197ff
commit cb974f7618
3 changed files with 111 additions and 44 deletions

View File

@@ -50,6 +50,9 @@ func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *mod
if orderPays[0].PayType == model.PayTypeKuaiShou {
_, err = localjx.RefundOrderByKS(ctx, orderPays[0], order.VendorOrderID, int(order.SkuUserMoney), reason)
}
if orderPays[0].PayType == model.PayTypeLaKaLa {
_, err = localjx.RefundOrderByLaKaLa(ctx, orderPays[0], order, order.VendorOrderID, int(order.SkuUserMoney), reason)
}
if err != nil {
return err
} else {