Files
lotteryFront/AGENTS.md
kang 0b14e77f64 feat: enhance player login validation and update betting preview
- Added username and password validation to the player login screen, improving user feedback for input errors.
- Updated the betting preview dialog to conditionally display rebate information based on the applied instant rebate status.
- Enhanced documentation in AGENTS.md to clarify credit flow and settlement processes.
- Modified .env.example to provide clearer instructions for multi-site deployment configurations.
2026-06-14 21:13:24 +08:00

895 B

This is NOT the Next.js you know

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ before writing any code. Heed deprecation notices.

Learned User Preferences

  • 玩家端信用盘文案与钱包盘区分:不用「派彩」口径,中奖走账期结算语义;提示语避免生硬重复「信用盘」字样。

Learned Workspace Facts

  • 信用盘流水对外类型:win_credit(中奖释额)、bill_settlement(账期收付),与钱包 prize/派彩文案分离。
  • 信用流水结余:game_settlement_win/settlement_confirm/bet_hold_release 会减 used_credit 并倒推结余;settlement_payout(账期收付)仅记账,affects_available_credit: false