Files
hi-frontend/apps/admin
shanshanzhong147 ab327f5118 feat: 后台抽奖活动管理(Stage 1)
- 服务层: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)
2026-07-09 13:35:35 -07:00
..
2025-11-26 19:56:16 -08:00
2025-11-26 19:56:16 -08:00
2025-11-26 19:56:16 -08:00
2025-11-26 19:56:16 -08:00
2025-11-26 19:56:16 -08:00

PPanel admin web

This is a PPanel admin web powered by PPanel

English · Chinese · Changelog · Report Bug · Request Feature


Table of contents

TOC

⌨️ Local Development

You can use Github Codespaces for online development:

You can use Gitpod for online development:

Open in Gitpod

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

Deploy with 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 youre made of.


📝 License

Copyright © 2024 PPanel.
This project is GNU licensed.