1811872455@163.com hace 2 semanas
padre
commit
009d7b5492

+ 4 - 4
Jenkinsfile

@@ -111,13 +111,13 @@ pipeline {
                                 if (params.profile == "test") {
                                     SWARM_INIT_REPLICAS_NUM = 1
                                     SERVER_HOST = "test1.storlead.com"
-                                    API_PORT = 10020
-                                    API_REMOTE_DEBUG_PORT = 10021
+                                    API_PORT = 10060
+                                    API_REMOTE_DEBUG_PORT = 10061
                                     SERVER_HOST_NAME =  "test1"
                                 } else if (params.profile == "prod") {
                                     SERVER_HOST = "110.41.82.21"
-                                    API_PORT = 10020
-                                    API_REMOTE_DEBUG_PORT = 10020
+                                    API_PORT = 10060
+                                    API_REMOTE_DEBUG_PORT = 10061
                                     SERVER_HOST_NAME =  "node1"
                                 }
                             }

+ 1 - 1
storlead-centre-api/src/main/resources/application-dev.yml

@@ -1,5 +1,5 @@
 server:
-  port: 10020
+  port: 10060
   tomcat:
     max-swallow-size: -1
     max-upload-size: 200MB

+ 1 - 1
storlead-centre-api/src/main/resources/application-prod.yml

@@ -1,7 +1,7 @@
 #开发模式
 debug: false
 server:
-  port: 10020
+  port: 10060
   tomcat:
     max-swallow-size: -1
     max-upload-size: 200MB

+ 1 - 1
storlead-centre-api/src/main/resources/application-test.yml

@@ -1,5 +1,5 @@
 server:
-  port: 10020
+  port: 10060
   tomcat:
     max-swallow-size: -1
     max-upload-size: 200MB

+ 1 - 1
ui/sp-user-center/vite.config.ts

@@ -36,7 +36,7 @@ export default defineConfig(({mode, command}: ConfigEnv): UserConfig => {
                 '/api/': {
                     changeOrigin: true,
                     // 接口地址
-                    target: mode === 'dev67' ? 'http://192.168.1.67:10020' : 'http://localhost:10020',
+                    target: mode === 'dev67' ? 'http://192.168.1.67:10060' : 'http://localhost:10060',
                     // target: 'http://192.168.1.193:18090',
                     pathRewrite: {
                         ['^' + env.VITE_APP_BASE_API]: ''