application-natived.yml 4.7 KB
Newer Older
Administrator committed
1 2 3 4 5 6
spring:
  servlet:
    multipart:
      enabled: true
      max-file-size: 300MB
      max-request-size: 300MB
7 8 9 10 11 12 13 14 15 16 17
  redis:
    database: 10
    host: 119.96.87.17
    port: 6379
    password: techhero
    timeout: 5000
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
Administrator committed
18
  rabbitmq:
19
    host: 119.96.87.17
20
    port: 5672
21 22 23
    username: techhero
    password: techhero
    virtual-host: /framework
Administrator committed
24 25 26 27 28
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
29 30 31 32
management:
  health:
    rabbit:
      enabled: false
Administrator committed
33 34 35 36 37 38 39 40 41 42 43
feign:
  hystrix:
    enabled: true
  okhttp:
    enabled: true
  httpclient:
    enabled: false
  client:
    config:
      feignName:
        connectTimeout: 10000
44
        readTimeout: 20000
Administrator committed
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
  compression:
    request:
      enabled: true
    response:
      enabled: true

# yml
hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 15000
  threadpool:
    default:
      coreSize: 50 ##并发执行的最大线程数,默认10
      maxQueueSize: 100 ##BlockingQueue的最大队列数
      queueSizeRejectionThreshold: 80


ribbon:
  ReadTimeout: 10000
  ConnectTimeout: 10000
  eureka:
    enabled: true
  httpclient:
    enabled: false
  okhttp:
    enabled: true
  eager-load:
    enabled: true
    clients: techhero-framework-config,techhero-framework-eureka,techhero-framework-auth,techhero-platform-exam,techhero-platform-system,techhero-business-track,techhero-business-command,techhero-business-transdata,techhero-business-datagovern,techhero-business-visualization,techhero-framework-config


tomcat:
  max-connections: 500
  max-threads: 30
  min-spare-threads: 3
  accept-count: 10

token:
87 88
    refreshTokenValiditySeconds:  86400
    accessTokenValiditySeconds:   43200
89
    remainingTime:  50
Administrator committed
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
# ignore:
#   urls:
#       - /config/bus/refresh
#       - /loginOut

#   放行白名单
secure:
  ignore:
    urls: #配置白名单路径
      - /actuator/**
      - /auth/**
      - /rsa/**
      - /token/**
      - /login/** 
      - /weChat/login
      - /identification/weChat/login
      - /gateway/**
      - /permission/white/**
      - /basic/code/**
109
      - /examination/kwksjcxxb/downloadKsTemplate
110
      - /subject/alipay/alipayCallback
111
      - /subject/coursepay/callPayWebZft
112
      - /subject/coursepay/callPayAlipayPage
113
      - /examination/app/forgetPassword
114
      - /examination/app/sendSmsCode
115
      - /examination/app/checkSmsCode      
116 117
      - /subject/neeapay/returnUrlCallback
      - /subject/neeapay/notifyUrlCallback
118
      - /subject/zft/resultUrlCallback
119
      - /subject/zft/h5ResultUrlCallback
120
      - /subject/zft/notifyUrlCallback 
121
      - /subject/courseregister/test4
122
      - /basic/person/updateLoginPersonInfo
123
      - /basic/person/detail
124
      - /basic/department/findHaveDepart
125 126
      - /basic/department/findHaveOffice
      - /basic/person/checkIdCard
127 128
      - /basic/person/pictureCheck
      - /basic/person/photoCheck
129 130
      - /dictionary/code/ty/sfyzztdm/info
      - /dictionary/code/ty/gzryztdm/info
131
      - /dictionary/code/ty/rybzlxdm/info
132 133 134 135 136 137 138
      - /dictionary/code/gb/mzdm/info
      - /dictionary/code/gb/xbdm/info
      - /dictionary/code/gb/zcdm/info
      - /dictionary/code/gb/zzmm/info
      - /dictionary/code/gb/xldm/info
      - /dictionary/code/gb/xwdm/info
      - /dictionary/code/gb/xzqhdm/getByXzqhdm
139
      - /examination/app/selectStudentKJSZD
140
      - /examination/computerStudent/downloadTemplate
141
 
Administrator committed
142 143 144 145 146 147 148 149 150 151 152
# 微信
weChat:
  # 凭证
  token:
    # 小程序唯一凭证,即 AppID
    appid: wxefc586aad11c0fe4
    # 小程序唯一凭证密钥,即 AppSecret
    secret: d491fa6dac431f6a31d6609478ddd071
    #小程序版本:developer为开发版;trial为体验版;formal为正式版;默认为正式版
    miniProgramState: formal
    # 订阅消息模板
153
    templateId: EXqoBaJ0QvDsYGECL2yP8RgYlef2uK44y-MA72rDVDU
Administrator committed
154
    #扫描小程序码跳转页面
155
    scanIntoPage: pages/check/check
Administrator committed
156 157
    #小程序消息通知跳转页面
    notifyPage: pages/update/update
158 159
   
server:
160
    # pictureCheck: http://[fdff:1:1:1::3]:18989/Segment/DetectFace
161
    # pictureCheck: http://[fdff:1:1:1::3]:18990/Segment/DetectFace
162 163
    # pictureCheck: http://[fdff:1:1:1::65]:18990/Segment/DetectFace
    pictureCheck: http://[fdff:1:1:1::66]:18990/Segment/DetectFace
164 165 166
    getuseridbyface : http://face.zhifz.com:4380/api/person/get_user_id_by_face
    putuserfaceurl: http://face.zhifz.com:4380/api/person/put_user_face
    deluserfaceurl : http://face.zhifz.com:4380/api/person/del_user_face