ab327f5118
- 服务层:12 个 /v1/admin/lottery 接口封装与 API 类型定义 - 活动列表:状态筛选、上架/暂停(带确认)、编辑、管理、发次数 - 奖品管理:3×3 九宫格可视化编辑、概率预览、保底奖警告、佣金元↔分转换、无限库存 - 规则设置:chance_sources 动态编辑,eligibility 简单/高级(JSON)双模式,本地 rulecaps 校验(深度≤8/节点≤64/≤8KB),Stage 1 未接线警示 - 手动发次数:自动生成幂等 source_ref - 路由 /dashboard/lottery、Commerce 菜单项、en-US/zh-CN 双语文案 - 对接文档见 vpn/aaaa.txt(Stage 1)
PPanel admin web
This is a PPanel admin web powered by PPanel
English · Chinese · Changelog · Report Bug · Request Feature
⌨️ Local Development
You can use Github Codespaces for online development:
You can use Gitpod for online development:
or clone it for local development:
git clone https://github.com/perfect-panel/frontend.git
cd ppanel-web
# Install dependencies
bun install
# Run the development server
cd apps/admin
bun dev
Open http://localhost:3000 with your browser to see the result.
🚀 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.
🤝 Contributing
Contributions of all types are more than welcome, if you're interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you’re made of.