application-prod.yml 5.23 KB
# 多环境个性化配置(开发环境) 默认
lhcredit:
  # 文件下载服务器地址
  downloadUrl: 127.0.0.1
  # 文件路径
  profile: D:/word/
  # 实例演示开关
  demoEnabled: true
server:
  # 服务器的HTTP端口,默认为80
  port: 8082
  tomcat:
    max-http-post-size: 10MB

# 日志配置
logging:
  level:
    com.lhcredit: debug
    org.springframework: debug
    org.spring.springboot.dao: debug
# Shiro
shiro:
  session:
    # 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制)
    maxSession: -1
# 数据源配置
spring:
  datasource:
    druid:
      # 主库数据源
      master:
        #url: jdbc:mysql://192.168.1.200:3306/credit_manager_new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://10.254.12.6:3306/credit_manager_new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useSSL=false
        username: root
        password: Lhzx@2024
      # 从库数据源
      slave:
        # 从数据源开关/默认关闭
        enabled: false
        url: jdbc:mysql://192.168.1.200:3306/dna_api?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: Lhzx18!@#-abc
  redis:
    # Redis服务器地址
    #host: 103.110.132.64
#    host: 192.168.1.50
    host: 10.254.12.11
    # Redis服务器连接端口
    #    port: 63013
    port: 6379
    # Redis服务器连接密码(默认为空)
    #    password: DC5@K%9P*#HkV
    #    password: 123456
    database: 5
    jedis:
      pool:
        # 连接池最大连接数(使用负值表示没有限制)
        max-active: 20
        # 连接池最大阻塞等待时间(使用负值表示没有限制)
        max-wait: -1
        # 连接池中的最大空闲连接
        max-idle: 8
        # 连接池中的最小空闲连接
        min-idle: 0
    # 连接超时时间(毫秒)
    timeout: 3000
  elasticsearch:
    host: 103.110.132.64
    port: 10005
    jest:
      uris: http://103.110.132.64:10005
# FastDFS
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
  so-timeout: 60000
  connect-timeout: 6000
  thumb-image:             #缩略图生成参数
    width: 150
    height: 150
  #web-server-url: http://img30.lhdna.com
  web-server-url: http://file.lhdna.com
  #tracker-list: 192.168.1.30:22122
  tracker-list: 10.254.12.12:22122



dnaapi:
  monitorAdd: https://openapi.lhdna.com/api/web/monitorInfo/monitorAddByList
  monitorDelete: https://openapi.lhdna.com/api/web/monitorInfo/monitorDelByList
  search: http://lhapi.lhdna.com/api/V4.0/searchList
  monitorInfo: https://openapi.lhdna.com/api/web/monitorInfo/getMonitorInfo
#  monitorHost: http://monitor.lhdna.com/api
  monitorHost: http://monitor.lhdna.com/api
  monitorApi: ${dnaapi.monitorHost}/web/mListInfo/operate/{type}/xygj
  monitorList: ${dnaapi.monitorHost}/web/mListInfo/getEarlyWarningListByClient/xygj
  monitorToken: ee5795e4ea6e401884282087179a5ff3

## 数据中心(天眼查,司法大数据)0
dataCenters:
  key: xygj
  url: http://lhapi.lhdna.com/api/
  #  url: "http://localhost:80/"
  token: f21bcdd7-90a7-4d39-9bed-56bed670314a

crm:
  url: http://crmcms.lhdna.com/
  token: 4389cc63-7db8-45d4-abd1-242fec622c58
report:
  url: http://192.168.1.181:9999/
  token: 4389cc63-7db8-45d4-abd1-242fec622c58

echarts:
  url: "http://imgservice.lhdna.com/"

oss:
  ossUrl: https://hyoss.lhdna.com/

finance:
  yearList: 2023,2022,2021
  industryLastYear: 2023
  Lhzx@2024:

DB:
  url: http://apitest.lhdna.com/api
  token: d833e14b907442f8b1060cfb3c4fd31d
  key: xygj

NX:
  url: http://apitest.lhdna.com/api
  token: 88d5957ac8c749ca8c8ceca05d0c67cd
  key: nx
  user: nx
special:
  url: http://apitest.lhdna.com/api/
  #url: http://localhost:8081/
  zhUrl: http://192.168.1.159:8921/

hw:
  url: https://api.worldbox.ch
  userName: "R%lj<ZjGStH$zhr"
  passWord:

easy:
  url: https://apolloapi.cn:19999/
  user: uc
  key: a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6
  qclientId: tyWWKVoCeB0BukuAb6
  qclientSecret: M3DqC9ZGn1gqRD0wXzXu
  aclientId: jNSzYIUOwgbhhdG1ozO
  aclientSecret: 9qj5wNrcuoiRDyNxZuni
  gclientId: 6rwEjEuPiWkZyNaTwVEO
  gclientSecret: Uf67bQT7KUte3cn6

picc:
  token: 2e694e79d930073d01ee34e6f4f57d0b
  Key: 55E04F01208BD9000E83DE26DB560342
  SecretKey: E8B3AB582877B1174ED37B24188DE9A3
  url: https://qyld.piccltd.com.cn/apiservice/

wx:
  appId: wx4f95242613ed64d6
  path: http://crmg.lhdna.com/
  secret: 96bfd98f11164ae63f2c5799fce84a6a

cst:
  url: https://xyxt.scstgyl.com:7443/api/web/cuPiccApplication/changeReportFile
#tempDirectoryWin:
#tempDirectoryWin: "D:\\javaPorject\\credit-manager-new\\src\\main\\resources\\docTemp\\"
reportTemplateWin: "D:\\javaPorject\\credit-manager-new\\src\\main\\resources\\"
tempDirectoryWin: D:\\credit-manager-new\\src\\main\\resources\\docTemp\\
fileDirectoryWin: D:\\word\\
fileDirectory: /usr/local/xygj8082/outPutFile/
tempDirectory: /usr/local/xygj8082/webapps/ROOT/WEB-INF/classes/docTemp/
reportTemplate: /usr/local/xygj8082/webapps/ROOT/WEB-INF/classes/