feat: 增强环境配置与开发服务,支持局域网访问及币种管理

This commit is contained in:
2026-05-21 16:24:41 +08:00
parent 699d43fbd4
commit 7a6048de10
60 changed files with 1321 additions and 443 deletions

View File

@@ -77,7 +77,7 @@ final class WalletBalanceController extends Controller
{
$code = CurrencyResolver::resolve($request, $player, 'currency');
if (! CurrencyResolver::isValid($code)) {
if (! CurrencyResolver::isEnabled($code)) {
return ApiResponse::error(
__('wallet.invalid_currency'),
ErrorCode::WalletInvalidCurrency->value,