|
|
@ -4,6 +4,8 @@ server.servlet.context-path=/
|
|
|
|
spring.mvc.static-path-pattern=/static/**
|
|
|
|
spring.mvc.static-path-pattern=/static/**
|
|
|
|
spring.resources.static-locations=classpath:static/
|
|
|
|
spring.resources.static-locations=classpath:static/
|
|
|
|
spring.application.name=${projectName}
|
|
|
|
spring.application.name=${projectName}
|
|
|
|
|
|
|
|
spring.main.banner-mode=on
|
|
|
|
|
|
|
|
spring.devtools.restart.enabled=true
|
|
|
|
<#if cloud>
|
|
|
|
<#if cloud>
|
|
|
|
eureka.client.serviceUrl.defaultZone=http://localhost:18080/eureka/
|
|
|
|
eureka.client.serviceUrl.defaultZone=http://localhost:18080/eureka/
|
|
|
|
</#if>
|
|
|
|
</#if>
|
|
|
@ -13,7 +15,7 @@ spring.http.encoding.charset=UTF-8
|
|
|
|
spring.http.encoding.enabled=true
|
|
|
|
spring.http.encoding.enabled=true
|
|
|
|
server.tomcat.uri-encoding=UTF-8
|
|
|
|
server.tomcat.uri-encoding=UTF-8
|
|
|
|
# 根路径、欢迎页
|
|
|
|
# 根路径、欢迎页
|
|
|
|
web.welcome.page = /login.htm
|
|
|
|
web.welcome.page=/index.htm
|
|
|
|
# 需要验证授权, 既访问时组装Token
|
|
|
|
# 需要验证授权, 既访问时组装Token
|
|
|
|
web.url.auth.included=/**
|
|
|
|
web.url.auth.included=/**
|
|
|
|
# 不需要验证授权, 或该请求有自己的验证机制
|
|
|
|
# 不需要验证授权, 或该请求有自己的验证机制
|
|
|
@ -22,8 +24,6 @@ web.url.auth.excluded = /favicon.ico,/static/**,/api,/login.htm
|
|
|
|
logging.path=D://
|
|
|
|
logging.path=D://
|
|
|
|
logging.levels=DEBUG
|
|
|
|
logging.levels=DEBUG
|
|
|
|
logging.config=classpath:logback-config.xml
|
|
|
|
logging.config=classpath:logback-config.xml
|
|
|
|
# 热部署生效
|
|
|
|
|
|
|
|
spring.devtools.restart.enabled = true
|
|
|
|
|
|
|
|
<#if dataBase == 'ORACLE'>
|
|
|
|
<#if dataBase == 'ORACLE'>
|
|
|
|
# oracle
|
|
|
|
# oracle
|
|
|
|
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
|
|
|
|
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
|
|
|
|