Files
gitlab-instance-0a899031_pa…/.env.example
2026-03-08 06:43:29 -05:00

29 lines
854 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ========== 本地调试 ==========
# BASE_URL 需为 ZPAY 可访问的回调地址。本地调试时 ZPAY 无法回调 localhost
# 可用 ngrok 等隧道BASE_URL=https://xxx.ngrok.io
# 或直接使用生产地址测试回调(需 payjsapi 已部署到公网)
# ========== 生产部署 ==========
# BASE_URL 必须为 payjsapi 实际公网地址ZPAY 异步通知会请求此地址
BASE_URL=https://api.hackrobot.cn
# 支付渠道xorpay | zpay默认 zpay
PAYMENT_PROVIDER=zpay
# XorPay
XORPAY_AID=8220
XORPAY_SECRET=your_secret
# ZPAY网关: https://zpayz.cn/
ZPAY_PID=2025121809351743
ZPAY_KEY=tpEi7wWIWI2kXiYVTpIG6j7it0mjVW89
# PocketBase
PB_URL=https://pocketbase.hackrobot.cn
PB_ADMIN_EMAIL=your@email.com
PB_ADMIN_PASSWORD=your_password
# Memos
MEMOS_API=https://qun.hackrobot.cn/api/v1/users
MEMOS_TOKEN=your_token