chenrui
2025-04-07 b999398ae9b2719d2db15716dd353f7a3855d59e
ruoyi-admin/src/main/resources/application-test.yml
@@ -1,4 +1,4 @@
# 装备测试库配置
# 射频测试库
# 数据源配置
spring:
@@ -8,9 +8,9 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://127.0.0.1:3306/center-lims-dz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://192.168.18.50:3306/center-lims?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: zttZTT123!
        password: zttZTT123$%^
      # 从库数据源
      slave:
@@ -66,13 +66,13 @@
  # redis 配置
  redis:
    # 地址
    host: localhost
    host: 192.168.18.50
    # 端口,默认为6379
    port: 6379
    # 数据库索引
    database: 0
    #    # 密码
    password: zttZTT123!
    password: Ztl123$%^
    # 连接超时时间
    timeout: 10s
    lettuce:
@@ -101,7 +101,7 @@
# 日志配置
logging:
  file-location: /center-lims/Java
  file-location: /center-lims/after
  level:
    com.ruoyi: info
    org.springframework: warn
@@ -109,36 +109,44 @@
# Swagger配置
swagger:
  # 是否开启swagger
  enabled: true
  enabled: false
# minio容器管理
minio:
  endpoint: http://114.132.189.42/
  port: 7019
  endpoint: http://114.132.189.42:7019
  secure: false
  accessKey: admin
  secretKey: 12345678
  preview-expiry: 24 # 预览地址默认24小时
  bucketName: radio-frequency
  publicUrl:
# 照片存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++
file:
  path: /center-lims/Work/img
  path: /center-lims/after/file/img
  # 上传文件允许的扩展名
  allowed: png,jpg,jpeg,gif
# 报告地址
wordUrl: /center-lims/Work/word
wordUrl: /center-lims/after/file/word
#oa:
#    oaHost: http://192.168.0.49:8000/oa_workflowrequest.asmx?wsdl
#    prodIp: http://192.168.21.53:8081
#    unqualifiedProcessId: 41974
# oa流程
oa:
  oaHost:
  prodIp:
  unqualifiedProcessId:
# 企业微信推送
wechat:
  # 质量报检通知
  examiningUrl:
# 人事系统
personnel:
  # 正式地址
  code: https://ztt-sso.ztt.cn/oauth2/token
  # 装备人事正式库
  appId: 6f5f6a0c-2a01-4ef6-9e75-c8a6f0c2f044
  appSecret: 9b9c4735b1e5ee9d6a8544b9b38bb03
  appId: f6f3d70f-3666-4d3d-b9c5-430de3f6007c
  appSecret: a18923496542302066b0a7bec993a4e2
  companies: https://ztt-connector.ztt.cn/api/org/v1/companies
  simple: https://ztt-connector.ztt.cn/api/org/v1/employees/simple?companyId=
  # 人员密码获取
@@ -146,17 +154,13 @@
  department: https://ztt-connector.ztt.cn/api/org/v1/companies/companyId/departments
  person: https://ztt-connector.ztt.cn/api/org/v1/employees/simple/
wechat:
  # 质量报检通知
  examiningUrl: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=21993616-9966-4fe4-81b0-68e99a40c964
ifs:
  contract: ZTZB
  contract-key-get: 4ttDeLKNsZuhstjtROMcRE1USNFXKdFYE7lQ2p1m5Bo=
  contract-key-post: 4ttDeLKNsZuhstjtROMcRE1USNFXKdFYE7lQ2p1m5Bo=
  custorder: http://192.168.20.47/PurchService.ashx?
  custorder-port: http://192.168.20.47:8008/PurchService.ashx?
  erp-services: http://192.168.20.47:8081
  contract:
  contract-key-get:
  contract-key-post:
  custorder:
  custorder-port:
  erp-services:
# 备注 18083密码:zttZTT123!@
mqtt: