50 lines
1.6 KiB
Properties
50 lines
1.6 KiB
Properties
|
|
# 应用服务 WEB 访问端口号
|
|
server.port=8080
|
|
|
|
# 下面这些内容是为了让MyBatis映射
|
|
# 指定Mybatis的Mapper文件
|
|
mybatis.mapper-locations=classpath:mappers/*.xml
|
|
# 日志输出
|
|
logging.level.com.bawei=debug
|
|
# 数据库驱动:
|
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
|
# 数据源名称
|
|
#spring.datasource.name=defaultDataSource
|
|
# 数据库连接地址
|
|
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/zg6_719?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
|
|
|
|
# mybatis下划线转小驼峰
|
|
mybatis.configuration.map-underscore-to-camel-case=true
|
|
|
|
|
|
# pageHelper插件
|
|
# 分页合理化
|
|
pagehelper.reasonable=true
|
|
# 分页自动转换方言。。。不同的数据库 分页的语句是不同的 mysql--limit oracle--rownum
|
|
pagehelper.auto-dialect=true
|
|
|
|
### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
|
|
xxl.job.admin.addresses=http://127.0.0.1:8081/xxl-job-admin
|
|
|
|
### xxl-job, access token
|
|
xxl.job.accessToken=zt
|
|
|
|
### xxl-job executor appname
|
|
xxl.job.executor.appname=zt-job-executor-sample
|
|
### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
|
|
xxl.job.executor.address=
|
|
### xxl-job executor server-info
|
|
xxl.job.executor.ip=
|
|
xxl.job.executor.port=9991
|
|
### xxl-job executor log-path
|
|
xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler
|
|
### xxl-job executor log-retention-days
|
|
xxl.job.executor.logretentiondays=30
|