application-dev-ly.yml 4.69 KB
# 多环境个性化配置(开发环境) 默认
lhcredit:
  # 文件下载服务器地址
  downloadUrl: 127.0.0.1
  # 文件路径
  profile: C:/profile/
  # 实例演示开关
  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/hsq_credit_manager?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#        url: jdbc:mysql://localhost:3306/credit_manager_new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: Lhzx18!@#-abc
      # 从库数据源
      slave:
        # 从数据源开关/默认关闭
        enabled: true
        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.60
    # Redis服务器连接端口
#    port: 63013
    port: 6379
    # Redis服务器连接密码(默认为空)
#    password: DC5@K%9P*#HkV
#    password: 123456
    database: 2
    jedis:
      pool:
        # 连接池最大连接数(使用负值表示没有限制)
        max-active: -1
        # 连接池最大阻塞等待时间(使用负值表示没有限制)
        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: 1501
  connect-timeout: 601
  thumb-image:             #缩略图生成参数
    width: 150
    height: 150
  #  web-server-url: http://img30.lhdna.com
  #  tracker-list: 192.168.1.30:22122
  web-server-url: http://192.168.3.184
  tracker-list: 192.168.3.184:22122


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

## 数据中心(天眼查,司法大数据)
dataCenters:
  key: xygj
  url: http://lhapi.lhdna.com/api/
  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: 43dfd35f942747ddbafd53fd66f9ed89
  key: hsqxm


special:
  url: http://apitest.lhdna.com/api/
  zhUrl: http://192.168.1.159:8921/


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

picc:
  token: 56a31f1c01070498591a0dfcb8cf9edd
  Key: 55E04F01208BD9000E83DE26DB560342
  SecretKey: E8B3AB582877B1174ED37B24188DE9A3
  url: https://qyldtest.piccltd.com.cn:4443/apiservice/
cst:
  url: http://shangtou.lhcredit.com/api/web/cuPiccApplication/changeReportFile
#tempDirectoryWin:
tempDirectoryWin: "D:\\javaPorject\\credit-manager-new\\src\\main\\resources\\docTemp\\"
reportTemplateWin: "D:\\javaPorject\\credit-manager-new\\src\\main\\resources\\"
#reportTemplateWin: "D:\\credit-manager-new\\src\\main\\resources\\"
#tempDirectoryWin: D:\\credit-manager-new\\src\\main\\resources\\docTemp\\
fileDirectoryWin: D:\word\
fileDirectory: /usr/local/xygj8083/outPutFile/
tempDirectory: /usr/local/xygj8083/webapps/ROOT/WEB-INF/classes/docTemp/
reportTemplate: /usr/local/xygj8083/webapps/ROOT/WEB-INF/classes/