wuhb hace 6 meses
padre
commit
b1075aa031

+ 5 - 1
ygtx-admin/src/main/resources/application-dev.yml

@@ -1,3 +1,7 @@
+server:
+    # 服务器的HTTP端口,默认为8080
+    port: 8080
+
 # 数据源配置
 spring:
     datasource:
@@ -67,4 +71,4 @@ spring:
                     merge-sql: true
                 wall:
                     config:
-                        multi-statement-allow: true
+                        multi-statement-allow: true

+ 6 - 2
ygtx-admin/src/main/resources/application-gxt.yml

@@ -1,3 +1,7 @@
+server:
+    # 服务器的HTTP端口,默认为8080
+    port: 89
+
 # 数据源配置
 spring:
     datasource:
@@ -6,7 +10,7 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://222.243.138.146:8712/ygtx_gxt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                url: jdbc:mysql://192.168.254.253:3306/ygtx_gxt_demo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                 username: root
                 password: 11rrRRvv90)*9&FuuI}{
             # 从库数据源
@@ -18,7 +22,7 @@ spring:
                 password:
             # 源数据库数据源(用于设备同步)
             source:
-                url: jdbc:mysql://222.243.138.146:8712/equipment_source?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                url: jdbc:mysql://192.168.254.253:3306/equipment_source?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                 username: root
                 password: 11rrRRvv90)*9&FuuI}{
                 initialSize: 5

+ 0 - 2
ygtx-admin/src/main/resources/application.yml

@@ -15,8 +15,6 @@ ygtx:
 
 # 开发环境配置
 server:
-  # 服务器的HTTP端口,默认为8080
-  port: 8080
   servlet:
     # 应用的访问路径
     context-path: /