Commit 67323c729a2f8bf04b9765385ab376cd2b261fbf

Authored by 王言钊
1 parent 9e1be589

优化配置文件

src/main/resources/application-dev.properties
... ... @@ -6,30 +6,6 @@ spring.datasource.password=M345sdfss4!
6 6  
7 7 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
8 8  
9   -#server.tomcat.protocol_header=x-forwarded-proto
10   -#server.use-forward-headers=true
11   -
12   -#spring.jpa.properties.hibernate.hbm2ddl.auto=update
13   -#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
14   -#spring.jpa.show-sql= true
15   -
16   -#server.tomcat.uri-encoding=UTF-8
17   -#spring.http.encoding.charset=UTF-8
18   -#spring.http.encoding.enabled=true
19   -#spring.http.encoding.force=true
20   -
21   -#spring.thymeleaf.mode=LEGACYHTML5
22   -#spring.thymeleaf.cache=false
23   -#spring.thymeleaf.encoding=UTF-8
24   -#spring.thymeleaf.content-type=text/html
25   -#\u5F00\u53D1\u65F6\u5173\u95ED\u7F13\u5B58,\u4E0D\u7136\u6CA1\u6CD5\u770B\u5230\u5B9E\u65F6\u9875\u9762
26   -
27   -#\u6253\u5370\u8FD0\u884C\u65F6\u7684sql
28   -#logging.level.com.cnlive.shenhe.mapper=debug
29   -
30   -#mybatis.mapper-locations=classpath:mapper/*.xml
31   -#mybatis.type-aliases-package=com.cnlive.shenhe.entity
32   -
33 9 #rabbitmq\u76F8\u5173\u914D\u7F6E
34 10 spring.rabbitmq.host=10.254.174.131
35 11 spring.rabbitmq.port=5672
... ... @@ -58,7 +34,6 @@ spring.application.home=/usr/local/test_cnlive_shenhe/cnlive_shenhe/log
58 34  
59 35 sync_users_api=http://api.cnlive.com/open/api2/inner2/shenhe/getuser
60 36 sync_users_app_key=314a9dd4-a9b7-4c12-bbbe-1150a36491ae
61   -`
62 37 #\u7528\u6237\u4E91\u8BF7\u6C42\u67E5\u8BE2\u7528\u6237\u4FE1\u606F
63 38 queryUserByMobile=http://user.api.cnlive.com/CnliveM2/user/readUserByUserName.action?userName=
64 39 queryUserByUserId=http://user.api.cnlive.com/CnliveM2/user/readUserByUid.action?uid=
... ...
src/main/resources/application-prod.properties
... ... @@ -7,25 +7,6 @@ spring.datasource.password=83BwiCoq
7 7  
8 8 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
9 9  
10   -#server.tomcat.protocol_header=x-forwarded-proto
11   -#server.use-forward-headers=true
12   -
13   -#spring.jpa.properties.hibernate.hbm2ddl.auto=update
14   -#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
15   -#spring.jpa.show-sql= true
16   -
17   -#server.tomcat.uri-encoding=UTF-8
18   -#spring.http.encoding.charset=UTF-8
19   -#spring.http.encoding.enabled=true
20   -#spring.http.encoding.force=true
21   -
22   -
23   -#\u6253\u5370\u8FD0\u884C\u65F6\u7684sql
24   -#logging.level.com.cnlive.shenhe.mapper=debug
25   -
26   -#mybatis.mapper-locations=classpath:mapper/*.xml
27   -#mybatis.type-aliases-package=com.cnlive.shenhe.entity
28   -
29 10 #rabbitmq\u76F8\u5173\u914D\u7F6E
30 11 spring.rabbitmq.host=10.254.176.11
31 12 spring.rabbitmq.port=5672
... ...
src/main/resources/application-test.properties
... ... @@ -6,30 +6,6 @@ spring.datasource.password=M345sdfss4!
6 6  
7 7 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
8 8  
9   -#server.tomcat.protocol_header=x-forwarded-proto
10   -#server.use-forward-headers=true
11   -
12   -#spring.jpa.properties.hibernate.hbm2ddl.auto=update
13   -#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
14   -#spring.jpa.show-sql= true
15   -
16   -#server.tomcat.uri-encoding=UTF-8
17   -#spring.http.encoding.charset=UTF-8
18   -#spring.http.encoding.enabled=true
19   -#spring.http.encoding.force=true
20   -
21   -#spring.thymeleaf.mode=LEGACYHTML5
22   -#spring.thymeleaf.cache=false
23   -#spring.thymeleaf.encoding=UTF-8
24   -#spring.thymeleaf.content-type=text/html
25   -#\u5F00\u53D1\u65F6\u5173\u95ED\u7F13\u5B58,\u4E0D\u7136\u6CA1\u6CD5\u770B\u5230\u5B9E\u65F6\u9875\u9762
26   -
27   -#\u6253\u5370\u8FD0\u884C\u65F6\u7684sql
28   -#logging.level.com.cnlive.shenhe.mapper=debug
29   -
30   -#mybatis.mapper-locations=classpath:mapper/*.xml
31   -#mybatis.type-aliases-package=com.cnlive.shenhe.entity
32   -
33 9 #rabbitmq\u76F8\u5173\u914D\u7F6E
34 10 spring.rabbitmq.host=10.254.174.131
35 11 spring.rabbitmq.port=5672
... ...