Files
lotteryFront/.env.example
kang ea75120269 feat: 增强大厅与结果展示功能
- 在 .env.example 中新增可选配置项 NEXT_PUBLIC_LOTTERY_PLAY_CURRENCY
- 在 API 模块中导出 getPlayEffective 函数
- 在 HallScreen 组件中引入 HallPlayCatalogPanel 以展示玩法目录
- 在多个屏幕组件中使用 queueMicrotask 优化数据加载逻辑
- 在 lottery-locale.ts 中新增 getLotteryRequestLocale 函数以支持语言选择
- 在类型定义中新增与玩法相关的类型导出
2026-05-11 10:09:06 +08:00

17 lines
984 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# =============================================================================
# 前端本地配置示例
# =============================================================================
# Next 开发服务代理目标:浏览器请求 /api/* 时由 Next 转发到这里。
# 默认值已经在 next.config.ts 中兜底为 http://127.0.0.1:8000本地 Laravel 端口不同时再改。
LOTTERY_API_PROXY_TARGET=http://127.0.0.1:8000
# 可选:如果设置此值,浏览器会绕过 Next 代理,直接请求该 API 地址。
# 一般本地开发建议留空,让请求走同源 /api 代理,避免 CORS。
# NEXT_PUBLIC_LOTTERY_API_BASE_URL=http://127.0.0.1:8000
# 可选:大厅「玩法与赔率」接口 `/api/v1/play/effective` 的 ?currency=(如 NPR不设则由后端选默认可下注币种。
# NEXT_PUBLIC_LOTTERY_PLAY_CURRENCY=NPR
# 可选:入口授权失败时“返回主站重新进入”的地址。
# NEXT_PUBLIC_MAIN_SITE_URL=http://localhost:5173