diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 9c19e3b..7c58ab6 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,7 +1,5 @@ -#服务器端口号配置 server: port: 8080 - #数据源配置 spring: datasource: @@ -25,7 +23,6 @@ spring: pool-prepared-statements: true max-open-prepared-statements: 50 max-pool-prepared-statement-per-connection-size: 20 - # 页面配置 mvc: view: prefix: /templates/ @@ -34,12 +31,10 @@ spring: cache: false request-context-attribute: request -#日志配置 log4j2 logging: config: classpath:log4j2.yml -#mybatis配置 mybatis: type-aliases-package: com.oceanspot.template.util.model mapper-locations: classpath:mapper/*.xml diff --git a/src/main/resources/application-production.yml b/src/main/resources/application-production.yml index 542f6ce..e74f737 100644 --- a/src/main/resources/application-production.yml +++ b/src/main/resources/application-production.yml @@ -1,7 +1,5 @@ -#服务器端口号配置 server: port: 8080 - #数据源配置 spring: datasource: @@ -25,7 +23,6 @@ spring: pool-prepared-statements: true max-open-prepared-statements: 50 max-pool-prepared-statement-per-connection-size: 20 - # 页面配置 mvc: view: prefix: /templates/ @@ -34,12 +31,10 @@ spring: cache: false request-context-attribute: request -#日志配置 log4j2 logging: config: classpath:log4j2.yml -#mybatis配置 mybatis: type-aliases-package: com.oceanspot.template.util.model mapper-locations: classpath:mapper/*.xml