From 8b459dd33fe829b71eaca96d042bcabc7968491c Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 29 Jan 2026 08:49:54 -0800 Subject: [PATCH] =?UTF-8?q?fix(trading-service):=20=E4=BF=AE=E5=A4=8DP2P?= =?UTF-8?q?=E8=BD=AC=E8=B4=A6AUTH=5FSERVICE=5FURL=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 默认值从localhost改为内网IP,解决Docker环境中调用auth-service失败的问题 Co-Authored-By: Claude Opus 4.5 --- .../src/application/services/p2p-transfer.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/trading-service/src/application/services/p2p-transfer.service.ts b/backend/services/trading-service/src/application/services/p2p-transfer.service.ts index 4e9aa9a7..abc2a250 100644 --- a/backend/services/trading-service/src/application/services/p2p-transfer.service.ts +++ b/backend/services/trading-service/src/application/services/p2p-transfer.service.ts @@ -42,7 +42,7 @@ export class P2pTransferService { private readonly prisma: PrismaService, private readonly configService: ConfigService, ) { - this.authServiceUrl = this.configService.get('AUTH_SERVICE_URL', 'http://localhost:3020'); + this.authServiceUrl = this.configService.get('AUTH_SERVICE_URL', 'http://192.168.1.111:3024'); this.minTransferAmount = this.configService.get('MIN_P2P_TRANSFER_AMOUNT', 0.01); }