refactor(payment): 移除ApplePay支付平台支持并整合到Stripe
Build docker and publish / build (20.15.1) (push) Has been cancelled

将ApplePay支付方式整合到Stripe平台处理,移除独立的ApplePay平台代码
简化支付逻辑,统一通过Stripe处理所有支付方式
This commit is contained in:
2025-12-09 00:58:03 -08:00
parent d95911d6bd
commit a80d6af035
3 changed files with 10 additions and 31 deletions
@@ -39,7 +39,7 @@ func PaymentNotifyHandler(svcCtx *svc.ServiceContext) func(c *gin.Context) {
return
}
c.String(http.StatusOK, "%s", "success")
case payment.Stripe, payment.ApplePay:
case payment.Stripe:
l := notify.NewStripeNotifyLogic(c.Request.Context(), svcCtx)
if err := l.StripeNotify(c.Request, c.Writer); err != nil {
result.HttpResult(c, nil, err)