更新配置文件
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
server.port=8080
|
||||
#登录超时-秒
|
||||
server.servlet.session.timeout=36000
|
||||
#数据库连接
|
||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
|
||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||
spring.datasource.username=root
|
||||
@@ -9,20 +12,6 @@ resource=src/main/resources
|
||||
web.front.baseDir=erp_web
|
||||
mybatis.type-aliases-package=com.jsh.erp.datasource.entities.*
|
||||
mybatis.mapper-locations=classpath:./mapper_xml/*.xml
|
||||
#开启sql打印
|
||||
logging.level.com.jsh.erp.datasource.mappers=DEBUG
|
||||
|
||||
#日志
|
||||
logging.config=classpath:logback-spring.xml
|
||||
logging.level.com.didispace=DEBUG
|
||||
#pagehelper配置
|
||||
pagehelper.helperDialect=mysql
|
||||
pagehelper.offsetAsPageNum=true
|
||||
pagehelper.rowBoundsWithCount=true
|
||||
pagehelper.pageSizeZero=true
|
||||
pagehelper.reasonable=false
|
||||
pagehelper.params=pageNum=pageHelperStart;pageSize=pageHelperRows;
|
||||
pagehelper.supportMethodsArguments=false
|
||||
#mybatis-plus配置
|
||||
#open开启 close关闭
|
||||
mybatis-plus.status=close
|
||||
|
||||
Reference in New Issue
Block a user