fix(trading-service): 使用Docker容器名调用auth-service

改为使用 auth-service:3024 替代 IP 地址

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-29 08:56:24 -08:00
parent 8b459dd33f
commit dcc83b9f79
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://192.168.1.111:3024');
this.authServiceUrl = this.configService.get<string>('AUTH_SERVICE_URL', 'http://auth-service:3024');
this.minTransferAmount = this.configService.get<number>('MIN_P2P_TRANSFER_AMOUNT', 0.01);
}