ria_10/src/main/resources/application.properties

32 lines
829 B
Properties

server.port=8080
application.properties
# ??????????MyBatis??
# ??Mybatis?Mapper??
mybatis.mapper-locations=classpath:mappers/*.xml
# ????
logging.level.com.bawei=debug
# ??????
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#???????
mybatis.configuration.map-underscore-to-camel-case=true
# ?????
#spring.datasource.name=defaultDataSource
# ???????
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/ria_10?characterEncoding=utf-8&useUnicode=true
# ??????&???
spring.datasource.username=root
spring.datasource.password=root
# ?????
spring.mvc.view.prefix=/WEB-INF/view/
spring.mvc.view.suffix=.jsp
# pageHelper??
# ?????
pagehelper.reasonable=true
# ????????????????? ????????? mysql--limit oracle--rownum
pagehelper.auto-dialect=true
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8