Explorar el Código

添加多端口配置。

lighter hace 4 años
padre
commit
744367c4bd

+ 1 - 1
pom.xml

@@ -10,7 +10,7 @@
     </parent>
     <groupId>hnthyyxxk</groupId>
     <artifactId>cssyb-uploadfees</artifactId>
-    <version>0.7</version>
+    <version>0.8</version>
     <name>cssyb-uploadfees</name>
     <description>cssyb upload fees.</description>
 

+ 0 - 0
src/main/resources/application-prod.yml → src/main/resources/application-port1100.yml


+ 34 - 0
src/main/resources/application-port1200.yml

@@ -0,0 +1,34 @@
+server:
+  port: 1200
+  servlet:
+    encoding:
+      charset: UTF-8
+      force: true
+      enabled: true
+  tomcat:
+    uri-encoding: UTF-8
+
+spring:
+  thymeleaf:
+    cache: false
+  datasource:
+    url: jdbc:jtds:sqlserver://172.16.32.168:1433/thxyhisdb
+    hikari:
+      username: sa
+      password:
+      minimum-idle: 1
+      idle-timeout: 180000
+      maximum-pool-size: 5
+      auto-commit: true
+      pool-name: MyHikariCP
+      connection-timeout: 30000
+      connection-test-query: select 1
+  rabbitmq:
+    host: 192.168.200.3 # 线上
+    port: 5672
+    username: dj
+    password: 123456
+mybatis:
+  configuration:
+    map-underscore-to-camel-case: true
+

+ 34 - 0
src/main/resources/application-port1300.yml

@@ -0,0 +1,34 @@
+server:
+  port: 1300
+  servlet:
+    encoding:
+      charset: UTF-8
+      force: true
+      enabled: true
+  tomcat:
+    uri-encoding: UTF-8
+
+spring:
+  thymeleaf:
+    cache: false
+  datasource:
+    url: jdbc:jtds:sqlserver://172.16.32.168:1433/thxyhisdb
+    hikari:
+      username: sa
+      password:
+      minimum-idle: 1
+      idle-timeout: 180000
+      maximum-pool-size: 5
+      auto-commit: true
+      pool-name: MyHikariCP
+      connection-timeout: 30000
+      connection-test-query: select 1
+  rabbitmq:
+    host: 192.168.200.3 # 线上
+    port: 5672
+    username: dj
+    password: 123456
+mybatis:
+  configuration:
+    map-underscore-to-camel-case: true
+