123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- # 项目相关配置
- ruoyi:
- # 名称
- name: suishenbang-oneportal
- # 版本
- version: 4.0.0
- # 版权年份
- copyrightYear: 2020
- # 实例演示开关
- demoEnabled: true
- # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
- profile: /data/project/file
- # 获取ip地址开关
- addressEnabled: false
- cloudPath: http://127.0.0.1:8000
- #清空订单缓存
- clearCachePath: http://suishenbang.nipponpaint.com.cn/gateway/order/order/meta-hana-sales-order/clearCache
- orderGetDataHook: http://suishenbang.nipponpaint.com.cn/gateway/order/order/meta-hana-sales-order/orderGetDataHook
- deliverGetDataHook: http://suishenbang.nipponpaint.com.cn/gateway/order/order/meta-hana-sales-order/deliverGetDataHook
- #经销商微信接口相关配置
- customer:
- appid: ap4f8e6a38b6142187
- appsecret: d5c234b37e9f9ecb47a71ba6a788bd3e
- #正式域名 https://ac.nipponpaint.com.cn
- domain: https://ac.nipponpaint.com.cn
- #hana数据库数据同步配置
- hana:
- hana-driver: com.sap.db.jdbc.Driver
- hana-url: jdbc:sap://hanaentsltp.nipponpaint.com.cn:30015?reconnect=true
- hana-user: SSB_HANA
- hana-pwd: Erty567*
- mysql-driver: com.mysql.jdbc.Driver
- mysql-url: jdbc:mysql://pc-nipponpaintproddb01.rwlb.rds.aliyuncs.com:3306/ssbprd?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
- mysql-user: ssbprd
- mysql-pwd: Ssbprd#0828
- # 开发环境配置
- server:
- # 服务器的HTTP端口,默认为80
- port: 10000
- servlet:
- # 应用的访问路径
- context-path: /oneportal
- tomcat:
- # tomcat的URI编码
- uri-encoding: UTF-8
- # tomcat最大线程数,默认为200
- max-threads: 800
- # Tomcat启动初始化的线程数,默认值25
- min-spare-threads: 30
- basedir: /tmp/tomcat
- # 日志配置
- logging:
- level:
- com.dgtly: debug
- org.springframework: warn
- path: /data/project/logs/
- # 用户配置
- user:
- password:
- # 密码错误{maxRetryCount}次锁定10分钟
- maxRetryCount: 5
- # Spring配置
- spring:
- # 模板引擎
- thymeleaf:
- mode: HTML
- encoding: utf-8
- # 禁用缓存
- cache: false
- # 资源信息
- messages:
- # 国际化资源文件路径
- basename: static/i18n/messages
- jackson:
- time-zone: GMT+8
- date-format: yyyy-MM-dd HH:mm:ss
- profiles:
- include: prod-druid
- # 文件上传
- servlet:
- multipart:
- # 单个文件大小
- max-file-size: 10MB
- # 设置总上传的文件大小
- max-request-size: 20MB
- location: /data/upload_tmp
- # 服务模块
- devtools:
- restart:
- # 热部署开关
- enabled: true
- tms:
- #TMS接口地址
- tmsUrl: https://lbtest.lutms.com/wuliu/apissbzt/ssb_update_authFile.do
- tmsToken: EZS2020
- mail:
- #邮件服务器地址
- host: mail.dgtis.com
- #端口号
- port: 25
- #发送者邮箱地址
- username: dgtmail@dgtis.com
- #邮箱的授权码
- password: DGT.1111
- #默认编码格式
- default-encoding: UTF-8
- properties:
- mail:
- #启动debug调试
- debug: true
- smtp:
- socketFactory:
- #SSL连接配置
- class: javax.net.ssl.SSLSocketFactory
- # MyBatis
- mybatis:
- # 搜索指定包别名
- typeAliasesPackage: com.dgtly.**.domain
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
- mapperLocations: classpath*:mapper/**/*Mapper.xml
- # 加载全局的配置文件
- configLocation: classpath:mybatis/mybatis-config.xml
- # PageHelper分页插件
- pagehelper:
- helperDialect: mysql
- reasonable: true
- supportMethodsArguments: true
- params: count=countSql
- # Shiro
- shiro:
- user:
- # 登录地址
- loginUrl: /login
- # 权限认证失败地址
- unauthorizedUrl: /unauth
- # 首页地址
- indexUrl: /index
- # 验证码开关
- captchaEnabled: true
- # 验证码类型 math 数组计算 char 字符
- captchaType: math
- cookie:
- # 设置Cookie的域名 默认空,即当前访问的域名
- domain:
- # 设置cookie的有效访问路径
- path: /
- # 设置HttpOnly属性
- httpOnly: true
- # 设置Cookie的过期时间,天为单位
- maxAge: 30
- session:
- # Session超时时间,-1代表永不过期(默认30分钟)
- expireTime: 30
- # 同步session到数据库的周期(默认1分钟)
- dbSyncPeriod: 1
- # 相隔多久检查一次session的有效性,默认就是10分钟
- validationInterval: 10
- # 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制)
- maxSession: -1
- # 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户
- kickoutAfter: false
- # 防止XSS攻击
- xss:
- # 过滤开关
- enabled: true
- # 排除链接(多个用逗号分隔)
- excludes: /system/notice/*,/system/config/*
- # 匹配链接
- urlPatterns: /system/*,/monitor/*,/tool/*
|