feat(payment): 接入扫呗普通支付2.0

This commit is contained in:
yml
2026-11-11 15:57:30 +08:00
parent 58d9f50bac
commit d403ffc734
30 changed files with 1337 additions and 111 deletions
+7
View File
@@ -36,6 +36,11 @@ FORCE_NPM_CI="${DEV_FORCE_NPM_CI:-0}"
GOOSE_VERSION="${GOOSE_VERSION:-v3.27.1}"
GOOSE_BIN="${GOOSE_BIN:-}"
# 国内网络通常无法稳定访问 proxy.golang.org;显式导出的 GOPROXY 优先。
if [[ -z "${GOPROXY:-}" ]]; then
export GOPROXY="${DEV_GOPROXY:-https://goproxy.cn,direct}"
fi
BACKEND_PID=""
FRONTEND_PID=""
DISTRIBUTION_PID=""
@@ -116,6 +121,8 @@ show_help() {
前后端端口被占用时自动停止占用的 Docker 容器或本机进程
DEV_FORCE_NPM_CI=0
强制重新执行前端 npm ci
DEV_GOPROXY=https://goproxy.cn,direct
未显式设置 GOPROXY 时使用的 Go 模块代理
示例:
./scripts/dev.sh # 正常启动(后端 + 主前后台 + 分销前台)