Browse Source

修改配置文件

郭超 3 years ago
parent
commit
7e9f76e39c
2 changed files with 22 additions and 3 deletions
  1. 0 3
      src/main/resources/application.properties
  2. 22 0
      src/main/resources/application.yml

+ 0 - 3
src/main/resources/application.properties

@@ -1,3 +0,0 @@
-server.port=9003
-export.path=/Users/guochao/Desktop/corwd-file/xinchuang/excel
-crowd.frontend=http://127.0.0.1:5555

+ 22 - 0
src/main/resources/application.yml

@@ -0,0 +1,22 @@
+spring.profiles.active: private-localhost
+#spring.profiles.active: private-localhost
+server:
+  port: 9003
+
+---
+spring:
+  profiles: private-localhost
+
+export:
+  path: /Users/guochao/Desktop/corwd-file/xinchuang/excel
+crowd:
+  frontend: http://127.0.0.1:5555
+
+---
+spring:
+  profiles: private-cloud
+
+export:
+  path: /var/www/xinchuang/excel
+crowd:
+  frontend: http://192.168.31.157:81