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
2026-03-19 01:56:13 -07:00
2025-11-26 19:56:16 -08:00
2025-12-11 03:29:07 +00: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 web

This is a PPanel web powered by PPanel

English · Chinese · Changelog · Report Bug · Request Feature


Article 1. All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.

Article 12. No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks.

Article 19. Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers.

Source: United Nations Universal Declaration of Human Rights (UN.org)

📦 Application List

📦 Application 🖼️ Preview
PPanel User Web
Developed with modern frontend technologies (Next.js, TypeScript, TailwindCSS), providing basic user features with support for multiple languages and themes.
One-Click Deploy
Preview
PPanel Admin Web
Developed with modern frontend technologies, this admin web provides basic data management features with support for multiple languages and themes.
One-Click Deploy
Preview

⌨️ 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 frontend

# Install dependencies
bun install

🤝 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.

S
Description
No description provided
Readme GPL-3.0 29 MiB
Languages
TypeScript 99.4%
Shell 0.3%
CSS 0.2%
HTML 0.1%