瀏覽代碼

修改测试环境对外暴露接口

songyh 3 年之前
父節點
當前提交
ff3c1dd651

+ 7 - 0
jeecg-cloud-module/jeecg-cloud-system-start/src/main/resources/application-dev.yml

@@ -1,3 +1,10 @@
+server:
+  port: 7001
+  servlet:
+    context-path: /jeecg-boot
+    compression:
+      enabled: true
+      mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
 dubbo:
 dubbo:
   application:
   application:
     id: sys-center-dubbo-prodiver
     id: sys-center-dubbo-prodiver

+ 7 - 0
jeecg-cloud-module/jeecg-cloud-system-start/src/main/resources/application-prod.yml

@@ -1,3 +1,10 @@
+server:
+  port: 7001
+  servlet:
+    context-path: /jeecg-boot
+    compression:
+      enabled: true
+      mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
 dubbo:
 dubbo:
   application:
   application:
     id: sys-center-dubbo-prodiver
     id: sys-center-dubbo-prodiver

+ 7 - 0
jeecg-cloud-module/jeecg-cloud-system-start/src/main/resources/application-test.yml

@@ -1,3 +1,10 @@
+server:
+  port: 7101
+  servlet:
+    context-path: /jeecg-boot
+    compression:
+      enabled: true
+      mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
 dubbo:
 dubbo:
   application:
   application:
     id: sys-center-dubbo-prodiver
     id: sys-center-dubbo-prodiver

+ 0 - 7
jeecg-cloud-module/jeecg-cloud-system-start/src/main/resources/application.yml

@@ -1,10 +1,3 @@
-server:
-  port: 7001
-  servlet:
-    context-path: /jeecg-boot
-    compression:
-      enabled: true
-      mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
 spring:
 spring:
   application:
   application:
     name: jeecg-system
     name: jeecg-system