| | |
| | | # 版权年份 |
| | | copyrightYear: 2025 |
| | | # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) |
| | | profile: D:/ruoyi/uploadPath |
| | | profile: /javaWork/product-inventory-management/file |
| | | |
| | | # 获取ip地址开关 |
| | | addressEnabled: false |
| | | # 验证码类型 math 数字计算 char 字符验证 |
| | | captchaType: math |
| | | # 协同审批编号前缀(配置文件后缀命名) |
| | | approvalNumberPrefix: DEV |
| | | approvalNumberPrefix: NEW |
| | | |
| | | # 个推 Unipush 配置 |
| | | getui: |
| | |
| | | # 开发环境配置 |
| | | server: |
| | | # 服务器的HTTP端口,默认为8080 |
| | | port: 7005 |
| | | port: 9003 |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: / |
| | |
| | | # 日志配置 |
| | | logging: |
| | | level: |
| | | org.quartz: DEBUG |
| | | com.ruoyi: warn |
| | | org.springframework: warn |
| | | |
| | |
| | | accessKey: admin |
| | | secretKey: 12345678 |
| | | preview-expiry: 24 # 预览地址默认24小时 |
| | | default-bucket: uploadPath |
| | | default-bucket: jxc |
| | | # 用户配置 |
| | | user: |
| | | password: |
| | |
| | | druid: |
| | | # 主库数据源 |
| | | master: |
| | | url: jdbc:mysql://localhost:3306/product-inventory-management-new-pro?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://localhost:3306/product-inventory-management-hnhb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: 123456 |
| | | password: 200381 |
| | | # 从库数据源 |
| | | slave: |
| | | # 从数据源开关/默认关闭 |
| | |
| | | restart: |
| | | # 热部署开关 |
| | | enabled: false |
| | | # redis 配置 |
| | | data: |
| | | mongodb: |
| | | uri: mongodb://114.132.189.42:9028/chat_memory_db |
| | | uri: mongodb://114.132.189.42:9028/chat_memory_db_btyx |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: 127.0.0.1 |
| | | # host: 172.17.0.1 |
| | | # host: 172.17.0.1 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | | database: 0 |
| | | database: 15 |
| | | # 密码 |
| | | # password: root2022! |
| | | password: |
| | |
| | | max-active: 8 |
| | | # #连接池最大阻塞等待时间(使用负值表示没有限制) |
| | | max-wait: -1ms |
| | | |
| | | # Quartz定时任务配置(新增部分) |
| | | quartz: |
| | | job-store-type: jdbc # 使用数据库存储 |
| | |
| | | threadPriority: 5 |
| | | makeThreadsDaemons: true |
| | | updateCheck: false # 关闭版本检查 |
| | | |
| | | # token配置 |
| | | token: |
| | | # 令牌自定义标识 |
| | |
| | | |
| | | # 文件上传配置 |
| | | file: |
| | | temp-dir: D:/ruoyi/temp/uploads # 临时目录 后期删除 |
| | | upload-dir: D:/ruoyi/prod/uploads # 正式目录 后期删除 |
| | | path: D:/ruoyi/prod/uploads # 上传目录 |
| | | urlPrefix: /common # 链接前缀 |
| | | domain: http://127.0.0.1:7005 # 域名前缀 |
| | | temp-dir: /javaWork/product-inventory-management/file/temp/uploads # 临时目录 |
| | | upload-dir: /javaWork/product-inventory-management/file/prod/uploads # 正式目录 |
| | | path: /javaWork/product-inventory-management/file # 上传目录 |
| | | urlPrefix: /prod-api/common # 链接前缀 |
| | | domain: http://1.15.17.182:9056 # 域名前缀 |
| | | expired: 120 # 过期时间(单位:分钟) |
| | | useLimit: 10 # 使用次数 |
| | | compress: true # 是否压缩 |
| | | needCompressSize: 10MB # 压缩阈值 |
| | | compressQuality: 0.5 # 压缩质量(0.0-1.0) |
| | | knowledge: |
| | | one: D:\新疆大罗素企业产品体系说明文档.md |
| | | |