Files
lotteryFront/.env.example
kang 5cbabb5d0f
Some checks failed
lotteryfront CI / build (push) Has been cancelled
feat(api): 按开注商支持获取赔率数据并完善相关功能
- 在getPlayEffective接口中增加provider_code参数支持
- 优化接口调用时对currency和provider_code的传递逻辑
- hall-bet-preview-dialog新增previewLineKey方法,解决列表渲染key冲突问题
- 修改投注和结果弹窗中开注商标题的国际化调用方式
- hall-betting-grid中增加选中开注商的默认逻辑,接口调用时传递provider_code
- 优化provider名称显示逻辑,完善开注商选择及摘要文本显示
- 订单详情页中显示开注商名称,提升显示准确性
- 补充i18n中开注商相关文案,支持多语言环境
- 更新PlayEffectiveOddsSlice和PlayEffectivePayload类型,加入provider_code字段支持
2026-07-09 10:51:45 +08:00

33 lines
1.4 KiB
Plaintext
Raw Permalink 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.
# =============================================================================
# 玩家端配置:复制为 .env 后按需修改(本地/线上同一套)
# =============================================================================
# -----------------------------------------------------------------------------
# Laravel API — 唯一必配项
# - 浏览器请求同源 /api/v1
# - Next 自动转发到 LOTTERY_API_UPSTREAM无需宝塔单独配 /api 转发)
# -----------------------------------------------------------------------------
# 本地
LOTTERY_API_UPSTREAM=http://127.0.0.1:8000
# 线上
# LOTTERY_API_UPSTREAM=http://127.0.0.1:8000
# LOTTERY_API_UPSTREAM=https://lottery-api.cjdhr.top
# Next 开发:局域网 IP 访问(逗号分隔 host无协议
# ALLOWED_DEV_ORIGINS=192.168.0.101
# 可选:大厅 play/effective 的 ?currency=
# NEXT_PUBLIC_LOTTERY_PLAY_CURRENCY=NPR
# 可选入口授权失败时返回主站build 前设置,会打进 JS
# NEXT_PUBLIC_MAIN_SITE_URL=http://localhost:5173
# 多站点部署时可选:玩家端登录请求附带 site_code 以优先匹配该站(玩家界面无需填写)
# NEXT_PUBLIC_PLAYER_SITE_CODE=default_site
# Reverb本地全栈联调时取消注释并 php artisan reverb:start不配则走轮询
# NEXT_PUBLIC_REVERB_APP_KEY=
# NEXT_PUBLIC_REVERB_HOST=127.0.0.1
# NEXT_PUBLIC_REVERB_PORT=8080
# NEXT_PUBLIC_REVERB_SCHEME=http