Files
gitlab-instance-0a899031_no…/README.md
2026-03-10 07:46:21 -05:00

2.1 KiB
Raw Blame History

NomadVIP | 异度星球

VIP 会员解锁页,集成 PocketBase 支付校验、XorPay/ZPAY 支付。

服务配置(参考 desktop digital

ZPAY、PocketBase、MinIO 配置与 C:\project\digital 保持一致,复制 .env.example.env.local 后按需修改:

变量 说明 默认值
NEXT_PUBLIC_POCKETBASE_URL PocketBase 地址 https://pocketbase.hackrobot.cn
NEXT_PUBLIC_API_URL / PAYMENT_API_URL payjsapi 地址 https://api.hackrobot.cn
PAYMENT_PROVIDER 支付提供商payjsapi 环境变量) xorpay / zpay

XorPay:直接调用 payh5无 redirect 中转,表单提交至 xorpay 收银台。payjsapi 需设置 PAYMENT_PROVIDER=xorpay。 | MINIO_ENDPOINT | MinIO 端点 | minioweb.hackrobot.cn | | MINIO_BUCKET | 存储桶 | hackrobot |

详见 config/services.config.ts

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.