12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- server:
- port: 9080
- servlet:
- context-path: /pp
- error:
- include-exception: true
- spring:
- servlet:
- #文件上传配置
- multipart:
- enabled: true
- max-file-size: 50MB
- max-request-size: 100MB
- datasource:
- username: root
- password: Dypg@1996
- url: jdbc:mysql://localhost:1230/productivity-platform?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
- driver-class-name: com.mysql.cj.jdbc.Driver
- type: com.alibaba.druid.pool.DruidDataSource
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- mvc:
- static-path-pattern: /**
- mybatis-plus:
- mapper-locations: classpath*:mapper/**/*Mapper.xml
- type-aliases-package: com.dayou.entity
- #debug
- configuration:
- #关闭日志:org.apache.ibatis.logging.nologging.NoLoggingImpl 开启日志:org.apache.ibatis.logging.stdout.StdOutImpl
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- # mybatis映射到实体的驼峰命名
- mapUnderscoreToCamelCase: true
- global-config:
- db-config:
- id-type: auto
- logic-delete-field: deleteStatus
- logic-delete-value: 1
- logic-not-delete-value: 0
- #分页插件
- pagehelper:
- helperDialect: mysql
- reasonable: true
- supportMethodsArguments: true
- pageSizeZero: false
- params: count=countSql
- ############## Sa-Token 配置 (文档: https://sa-token.cc) ##############
- sa-token:
- # token 名称(同时也是 cookie 名称)
- token-name: token
- # token 有效期(单位:秒) 默认30天,-1 代表永久有效
- timeout: 86400
- # token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
- active-timeout: -1
- # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
- is-concurrent: true
- # 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
- is-share: true
- # token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
- token-style: random-64
- # 是否输出操作日志
- is-log: true
- # oa系统的api url
- oa-api-url: localhost:8088/api/
- file-net:
- # 基础配置
- base-dir: /opt/dfs/productivity-platform/
- max-file-size: 102400
- # 资产业务配置
- asset-template-report-path: assets\templates\report\
- asset-template-calculate-path: assets\templates\calculate\
- asset-output-report-path: assets\output\report\
- asset-output-calculate-path: assets\output\calculate\
- house-guaranty-path: house/guaranty
- house-guaranty-template-path: house/guaranty/temp/
- posyspath: /root/pageoffice
|