chore: set cmpp port to 17890

This commit is contained in:
hectorzhao
2026-07-02 15:59:17 +08:00
parent 321cf716f2
commit 9c639d54b9
4 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ function createPrismaMock() {
carrier: 'mobile',
protocol: 'CMPP',
gatewayHost: '127.0.0.1',
gatewayPort: 7890,
gatewayPort: 17890,
enterpriseCode: 'EC',
account: 'sp',
passwordCipher: 'secret',
@@ -108,7 +108,7 @@ describe('ChannelsService', () => {
code: 'CMPP-A',
name: '主通道',
gatewayHost: '127.0.0.1',
gatewayPort: 7890,
gatewayPort: 17890,
account: 'sp',
passwordCipher: 'secret',
srcId: '10690000',
@@ -44,7 +44,7 @@ function createPrismaMock() {
findFirst: jest.fn().mockResolvedValue({
id: 'channel-1',
gatewayHost: '127.0.0.1',
gatewayPort: 7890,
gatewayPort: 17890,
enterpriseCode: 'EC',
account: 'sp',
passwordCipher: 'cipher',
@@ -95,7 +95,7 @@ describe('SmsConfigService', () => {
applicationId: 'app-1',
tenantName: '租户A',
gatewayHost: '127.0.0.1',
gatewayPort: 7890,
gatewayPort: 17890,
maxConnections: 2,
}));
});