Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-gkzy-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-gkzy-config
Commits
4058cffd
Commit
4058cffd
authored
Jun 14, 2025
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update techhero-gkzy-gateway.yml
parent
cba92622
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
22 deletions
+1
-22
techhero-gkzy-gateway.yml
+1
-22
No files found.
techhero-gkzy-gateway.yml
View file @
4058cffd
...
...
@@ -116,28 +116,7 @@ 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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment