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:
parent
1448435b06
commit
8b459dd33f
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue