fix(trading-service): 修复P2P转账AUTH_SERVICE_URL默认值

默认值从localhost改为内网IP,解决Docker环境中调用auth-service失败的问题

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-29 08:49:54 -08:00
parent 1448435b06
commit 8b459dd33f
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export class P2pTransferService {
private readonly prisma: PrismaService,
private readonly configService: ConfigService,
) {
this.authServiceUrl = this.configService.get<string>('AUTH_SERVICE_URL', 'http://localhost:3020');
this.authServiceUrl = this.configService.get<string>('AUTH_SERVICE_URL', 'http://192.168.1.111:3024');
this.minTransferAmount = this.configService.get<number>('MIN_P2P_TRANSFER_AMOUNT', 0.01);
}