| | |
| | | max: 800 |
| | | # Tomcat启动初始化的线程数,默认值10 |
| | | min-spare: 100 |
| | | |
| | | multipart: |
| | | max-file-size: 10MB |
| | | max-request-size: 10MB |
| | | # 日志配置 |
| | | logging: |
| | | level: |
| | |
| | | secret: abcdefghijklmnopqrstuvwxyz |
| | | # 令牌有效期(默认30分钟) |
| | | expireTime: 30 |
| | | |
| | | # MyBatis配置 |
| | | # 原有 MyBatis 配置保持不变 |
| | | mybatis: |
| | | # 搜索指定包别名 |
| | | typeAliasesPackage: com.ruoyi.**.domain |
| | | # 配置mapper的扫描,找到所有的mapper.xml映射文件 |
| | | mapperLocations: classpath*:mapper/**/*Mapper.xml |
| | | # 加载全局的配置文件 |
| | | configLocation: classpath:mybatis/mybatis-config.xml |
| | | |
| | | # 新增 MyBatis-Plus 配置 |
| | | mybatis-plus: |
| | | # 可以指向新的目录,避免与原有XML冲突 |
| | | mapper-locations: classpath*:mapper/**/*Mapper.xml |
| | | type-aliases-package: com.ruoyi.**.domain |
| | | global-config: |
| | | db-config: |
| | | id-type: AUTO |
| | | logic-delete-value: 2 # 若依默认逻辑删除值是2 |
| | | logic-not-delete-value: 0 |
| | | # 字段策略:0:忽略判断,1:非NULL判断,2:非空判断 |
| | | insert-strategy: not_null |
| | | update-strategy: not_null |
| | | configuration: |
| | | # 保持与原有配置一致 |
| | | map-underscore-to-camel-case: true |
| | | # 开启SQL日志 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # PageHelper分页插件 |
| | | pagehelper: |
| | | helperDialect: mysql |
| | |
| | | excludes: /system/notice |
| | | # 匹配链接 |
| | | urlPatterns: /system/*,/monitor/*,/tool/* |
| | | |
| | | |
| | | file: |
| | | upload-dir: /www/wwwroot/img |
| | | upload-prefix: https://img.imgbt.net |
| | | |
| | | # 网易云信配置 |
| | | netease: |
| | | im: |
| | | api-head-portrait-url: https://open.yunxinapi.com |
| | | |
| | | pay: |
| | | mch-id: "100453" |
| | | key: "UHI4O7SDWRP8CTRDSGHN9KW3MIAT7GWWJ8QGL6GGZIKVLHZT3XIYEVFXDLBBWYPNXGHFN9MNN1JCCQKZFQQOVMZEH8PVTUVW2ECYDGAFOQU6GREKZOF4AOHSIRF2SY8E" |
| | | base-url: "http://pay.hwpal.xyz" |
| | | call-back-url: "https://api.imgbt.net/userPolicy/notify" |