diff --git a/pom.xml b/pom.xml
index fbf0657..33f6e20 100755
--- a/pom.xml
+++ b/pom.xml
@@ -149,24 +149,53 @@
spring-boot-maven-plugin
+
+
+ src/main/resources
+
+ application*.yml
+
+
+
+ src/main/resources
+ true
+
+ application.yml
+ application-${profile.active}.yml
+
+
+
+
+
dev
+
true
dev
+
+
test
test
+
+
+
+ prod
+
+ prod
+
+
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 2f61e1a..d769067 100755
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,35 +1,3 @@
spring:
- datasource:
- url: jdbc:mysql://localhost:3306?organize_oa
- username: root
- password: Zrx@20041009
- driver-class-name: com.mysql.cj.jdbc.Driver
- redis:
- database: 0
- host: localhost
- port: 6379
- password: Zrx@20041009
- mail:
- default-encoding: UTF-8
- host: smtp.qiye.aliyun.com
- username: wxxydeveloper@x-lf.cn
- password: 114477225588Zcw
- properties:
- form: wxxydeveloper@x-lf.cn
- mail:
- smtp:
- auth: true
- starttls:
- enable: true
- ssl:
- enable: true
-mybatis:
- configuration:
- map-underscore-to-camel-case: true
-logging:
- level:
- root: TRACE
- sun.rmi: OFF
- org.apache.tomcat: WARN
-server:
- port: 8155
\ No newline at end of file
+ profiles:
+ active: @profile.active@
\ No newline at end of file