Compare commits

...
1 Commits
Author SHA1 Message Date
jinghui 8f0796c031 fix(payment): epay异步回调免鉴权 + Dockerfile构建代理参数
release / release (release) Canceled after 0s
- /api/payment/callback_epay 与 refund_callback_epay 加入 NO_AUTH 白名单,
  易支付异步notify无用户token,此前被401拦截导致订单无法回执
- Dockerfile 增加 HTTP(S)_PROXY 构建参数,受限网络可构建
2026-11-13 18:16:29 +08:00
2 changed files with 9 additions and 0 deletions

No files matched your search

+6
View File
@@ -3,6 +3,12 @@
# Description: Dockerfile for XPack
FROM python:3.12.11-alpine3.22
# Build-time proxy (needed for apk/pip in restricted networks)
ARG HTTP_PROXY
ARG HTTPS_PROXY
ARG NO_PROXY
ENV HTTP_PROXY=$HTTP_PROXY HTTPS_PROXY=$HTTPS_PROXY NO_PROXY=$NO_PROXY
RUN apk add nodejs=~22 npm uv nginx
# ENV TZ=Asia/Shanghai
# RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
+3
View File
@@ -63,6 +63,9 @@ class Config:
"/api/web/mcp_services",
"/api/web/mcp_service_info",
"/api/payment/callback_stripe",
# epay (易支付) async notify — called by the gateway, no user token.
"/api/payment/callback_epay",
"/api/payment/refund_callback_epay",
# "/api/payment/callback_alipay",
]