# 配置打印SQL语句
logging:
  config: classpath:config/logback-spring.xml
management:
  # 忽略ldap的健康检查
  health:
    LDAP.enabled: false
  add-application-context-header: false
  endpoints:
    web:
      exposure:
        include: health,info,cert

mybatis-plus:
  configuration:
    # map-underscore-to-camel-case: true
    call-setters-on-nulls: true
    jdbc-type-for-null: 'null'
    # 打印执行的SQL语句及返回的数据
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  global-config:
    db-config:
      update-strategy: IGNORED # FieldStrategy

# 附件在线预览
file:
  file.dir: /home/bpm/conver/
  upload: /home/disk01/files
  office:
    # 是否启用LibreOffice组件（设置为true也需要在服务器上安装LibreOffice才能使用） 注意：linux 需要安装字体不然会出现乱码
    # 想要本地测试的，需要在自己电脑安装对应的office，并且修改 Home 路径
    ip-addr: 192.168.0.11
    enable: true #本地启动关闭，上线在开启
    #libreOffice安装路径 （linux环境（要离线安装）：/opt/libreoffice7.6 windows环境：C:/Program Files/LibreOffice）
    home: /opt/libreoffice7.6
    port: 9693,9793,9893
  simText: txt,html,xml,java,properties,sql
  media: mp3,mp4,flv,rmvb,wmv
  converted.file.charset: utf-8

# minio settings
#正式环境
minio:
  minio_url: https://dm.scm-spwz.com/
  minio_name: admin
  minio_pass: Artfess@023,.*
  bucketName: gyl

# 短信集成
mobileSMS:
  SendUrl: http://47.116.77.168:8513/sms/Api/ReturnJson/Send.do
  SpCode: "101522"
  LoginName: "CQJD"
  Password: "bLUnC8#EAV1w0"
  Signature: "【重庆机电】"