server: #端口号 port: 8080 servlet: session: timeout: 36000 #登录超时-秒 context-path: /jshERP-boot #服务路径 tomcat: basedir: /opt/tmp/tomcat #文件上传临时路径 #mybatis-plus配置 mybatis-plus: # 对应的 XML 文件位置 mapperLocations: classpath*:mapper_xml/*.xml #租户对应的角色id manage: roleId: 10 tenant: userNumLimit: 1000000 #租户允许创建的用户数 tryDayLimit: 3000 #租户允许试用的天数 #插件配置 plugin: runMode: prod pluginPath: plugins pluginConfigFilePath: pluginConfig #文件上传方式 1-本机 2-oss file: uploadType: 1 path: /opt/jshERP/upload #文件上传根目录 spring: #数据库连接 datasource: url: jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false driverClassName: com.mysql.cj.jdbc.Driver username: root password: 123456 # Redis redis: host: 127.0.0.1 port: 6379 password: foobared servlet: #文件上传限制(byte) multipart: max-file-size: 10485760 max-request-size: 10485760