1834b97fe2
PR Check / Lint, Check, Test and Build (push) Has been cancelled
Squash merge of fix/134-促销前端展示对齐 (4702dee).
HIF-79/HIF-113 落地后前端有三处对齐缺失:
- promo-info.tsx 仍读 promo.end_time,但后端 SubscribeDiscountPromo
JSON 字段是 expires_at(×2 处)
- billing.tsx 缺 Promo Discount 行,PreOrderResponse 拿到 promo_discount
时无处可渲染
- typings.d.ts: SubscribeDiscountPromo 缺 expires_at/rule_type,
PreOrderResponse 缺 promo_discount
本次仅修字段对齐与展示行,不动业务逻辑、不动 OrderDetail 类型 (后端
当前未透出 promo_discount)。新增 billing.promoDiscount 中英文文案。
PPanel user web
This is a PPanel user 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/user
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.