feat(api): 按开注商支持获取赔率数据并完善相关功能
Some checks failed
lotteryfront CI / build (push) Has been cancelled

- 在getPlayEffective接口中增加provider_code参数支持
- 优化接口调用时对currency和provider_code的传递逻辑
- hall-bet-preview-dialog新增previewLineKey方法,解决列表渲染key冲突问题
- 修改投注和结果弹窗中开注商标题的国际化调用方式
- hall-betting-grid中增加选中开注商的默认逻辑,接口调用时传递provider_code
- 优化provider名称显示逻辑,完善开注商选择及摘要文本显示
- 订单详情页中显示开注商名称,提升显示准确性
- 补充i18n中开注商相关文案,支持多语言环境
- 更新PlayEffectiveOddsSlice和PlayEffectivePayload类型,加入provider_code字段支持
This commit is contained in:
2026-07-09 10:51:45 +08:00
parent add3d1fc05
commit 5cbabb5d0f
10 changed files with 70 additions and 23 deletions

View File

@@ -219,7 +219,7 @@ export function HallBetResultDialog({
{t("orders.play")}
</th>
<th className="border-r border-[#dfe8f6] px-2 py-2.5 text-center font-black">
{t("hall.providers.title", { defaultValue: "开注商" })}
{t("hall.providers.title")}
</th>
<th className="px-2 py-2.5 text-center font-black">
{t("hall.result.actualDeduct")}