feat: 增强玩家 API,新增 locale 和时间字段,更新钱包 API 以支持可用余额计算,添加错误码与多语言支持

This commit is contained in:
2026-05-09 15:05:46 +08:00
parent f1b38ef421
commit a0f86a4e36
36 changed files with 2523 additions and 34 deletions

View File

@@ -26,6 +26,34 @@ class LotterySettingsSeeder extends Seeder
'是否允许玩家端发起转出',
);
LotterySettings::put(
'wallet.transfer_in_min_minor',
100,
'wallet',
'转入单笔最小金额(最小货币单位)',
);
LotterySettings::put(
'wallet.transfer_in_max_minor',
9_999_999_999_999_999,
'wallet',
'转入单笔最大金额(最小货币单位)',
);
LotterySettings::put(
'wallet.transfer_out_min_minor',
100,
'wallet',
'转出单笔最小金额',
);
LotterySettings::put(
'wallet.transfer_out_max_minor',
9_999_999_999_999_999,
'wallet',
'转出单笔最大金额',
);
LotterySettings::put(
'app.display_name_for_client',
'Lottery',