liding
2026-05-20 4d99e718536ac77dff26dde8da7a59cdc9b52de8
src/main/resources/application-dev.yml
@@ -13,11 +13,22 @@
  addressEnabled: false
  # 验证码类型 math 数字计算 char 字符验证
  captchaType: math
  # 协同审批编号前缀(配置文件后缀命名)
  approvalNumberPrefix: DEV
  # 个推 Unipush 配置
  getui:
    appId: PfjyAAE0FK64FaO1w2CMb1
    appKey: zTMb831OEL6J4GK1uE3Ob4
    masterSecret: K1GFtsv42v61tXGnF7SGE5
    domain: https://restapi.getui.cn/v2/
    # 离线推送使用的包名/组件名
    intentComponent: uni.app.UNI099A590/io.dcloud.PandoraEntry
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 7003
  port: 8888
  servlet:
    # 应用的访问路径
    context-path: /
@@ -31,13 +42,6 @@
      max: 800
      # Tomcat启动初始化的线程数,默认值10
      min-spare: 100
# 日志配置
logging:
  level:
    org.quartz: DEBUG
    com.ruoyi: warn
    org.springframework: warn
minio:
  endpoint: http://114.132.189.42/
@@ -63,8 +67,10 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://localhost:3306/product-inventory-management-hckx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#        url: jdbc:mysql://1.15.17.182:9999/product-inventory-management-new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://localhost:3307/product-inventory-management-pcdz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
#        password: xd@123456..
        password: 123456
      # 从库数据源
      slave:
@@ -143,7 +149,7 @@
    database: 0
    # 密码
    #    password: root2022!
    password:
    password: 123456
    # 连接超时时间
    timeout: 10s
@@ -194,16 +200,30 @@
# MyBatis Plus配置
mybatis-plus:
  # 搜索指定包别名   根据自己的项目来
  typeAliasesPackage: com.ruoyi.**.pojo
  # 配置mapper的扫描,找到所有的mapper.xml映射文件
  mapperLocations: classpath*:mapper/**/*Mapper.xml
  # 加载全局的配置文件
  configLocation: classpath:mybatis/mybatis-config.xml
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    map-underscore-to-camel-case: true
  type-aliases-package: com.ruoyi.**.pojo
  mapper-locations: classpath*:mapper/**/*Mapper.xml
  global-config:
    enable-sql-runner: true
    banner: false
    db-config:
      id-type: auto
# 日志配置
logging:
  level:
    root: INFO
    com.ruoyi.production.mapper: DEBUG
    org.apache.ibatis: DEBUG
    org.mybatis: DEBUG
    java.sql: DEBUG
    java.sql.Connection: DEBUG
    java.sql.Statement: DEBUG
    java.sql.PreparedStatement: DEBUG
    java.sql.ResultSet: DEBUG
    com.baomidou.mybatisplus: DEBUG
    com.baomidou.mybatisplus.core: DEBUG
# PageHelper分页插件
pagehelper:
@@ -242,4 +262,4 @@
file:
  temp-dir: D:/ruoyi/temp/uploads   # 临时目录
  upload-dir: D:/ruoyi/prod/uploads # 正式目录
  upload-dir: D:/ruoyi/prod/uploads # 正式目录