Files
hi-frontend/apps/user
shanshanzhong147 1834b97fe2
PR Check / Lint, Check, Test and Build (push) Has been cancelled
修复(#134): 促销前端展示对齐 (expires_at / billing 补 promo_discount / 类型补字段)
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 中英文文案。
2026-06-02 20:27:54 -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 user web

This is a PPanel user 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/user
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.