Commit cba92622 by Administrator

Update techhero-gkzy-gateway.yml

parent 78ca56bf
...@@ -53,3 +53,118 @@ zuul: ...@@ -53,3 +53,118 @@ zuul:
type: type:
- url_pattern=/ksfw/score/studentScore/lqQuery - url_pattern=/ksfw/score/studentScore/lqQuery
ignore:
urls:
- /**/*.css
- /getTime
- /captcha
- /captcha1
- /actuator/**
- /swagger-ui.html
- /swagger-resources/**
- /*/v2/api-docs
- /webjars/**
- /captcha/**
- /getSmBolt
- /getSmBolt/**
- /auth/**
- /ksfw/common/**
- /ksfw/plan-enrollment/**
#- /ksfw/user/**
- /ksfw/user/user-login-bind-relation/**
- /ksfw/user/user-submit-score/get-render
- /ksfw/score/studentScore/scoreQueryDataValid
- /ksfw/score/studentScore/getKfResult
- /refresh/**
- /doc.html
- /zipkin/**
- /**/diagram-viewer/**
- /**/editor-app/**
- /**/js/**
- /**/lib/**
- /favicon.ico
- /lib.js/**
- /**/model-list.html
- /**/modeler.html
- /**/modeler.html***
- /**/modeler**/**
- /**/*model*/**
- /**/*.js
- /**/*.html
- /**/*.htm
- /**/*htm*/**
- /**/service/editor/**
- /admin/files/**
- /admin/user/**
- /**/admin/files/**
- /admin/user/checkPasswordInDenLu
- /personalBack/getPhoneCode
- /ksfw/suggestion/ad-scene/**
- /ksfw/plan-enrollment/v2/enroll-node-timeline/**
- /ksfw/plan-enrollment/v2/enroll-notice/**
- /ksfw/plan-enrollment/v2/enroll-question-answer/**
digest:
disableSign: true
secret: 68d1ec5480a7a99b268fbab5bf21d515
health: /actuator/health
noOpenidUrls:
- /ksfw/user/user-login-bind-relation/getWxOpenIdByJsCode
- /getTime
noTimeUrls:
- /getTime
swagger:
client:
- techhero-user-service
- techhero-dlkkx-service
# 关闭默认路由
#zuul:
# ignoredServices: '*'
zuul:
host:
socket-timeout-millis: 60000
connect-timeout-millis: 60000
ratelimit:
key-prefix: lhlxRequestLimit
enabled: true
repository: redis #对应存储类型(用来存储统计信息)
behind-proxy: true #代理之后
default-policy-list: #可选 - 针对所有的路由配置的策略,除非特别配置了policies
- limit: 2 #可选 - 每个刷新时间窗口对应的请求数量限制
# quota: 1 #可选- 每个刷新时间窗口对应的请求时间限制,接口的耗时时间(秒)
refresh-interval: 60 # 刷新时间窗口的时间,默认值 (秒)
type: #可选 限流方式
- url_pattern=/ksfw/score/studentScore/scoreQuery
- limit: 3
refresh-interval: 60
type:
- url_pattern=/ksfw/score/studentScore/lqQuery
notencrypt:
reqUrls:
- /captcha
- /captcha1
- /actuator/**
- /swagger-ui.html
- /swagger-resources/**
- /*/v2/api-docs
- /webjars/**
- /getSmBolt
- /report/tb-template/save
- /report/tb-template/update
- /sso/token
- /auth/personalBack/getPhoneCode
respUrls:
- /captcha
- /captcha1
- /actuator/**
- /swagger-ui.html
- /swagger-resources/**
- /*/v2/api-docs
- /webjars/**
- /getSmBolt
- /report/tb-template/save
- /report/tb-template/update
- /download
- /sso/token
- /auth/personalBack/getPhoneCode
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment