Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a4b8b71c
authored
May 17, 2023
by
chamberone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
网关配置更新
1 parent
514cdfb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
30 deletions
config-init/config/project-gateway.yaml
config-init/config/project-gateway.yaml
View file @
a4b8b71
...
...
@@ -2,46 +2,22 @@ spring:
cloud
:
gateway
:
routes
:
-
id
:
placeOrder
uri
:
lb://project-order
predicates
:
-
Path=/order/create
-
id
:
queryStorage
uri
:
lb://project-storage
predicates
:
-
Path=/storage/
-
id
:
queryAccount
uri
:
lb://project-account
predicates
:
-
Path=/account/
-
id
:
praiseItemRocketMQ
uri
:
lb://project-provider
predicates
:
-
Path=/praise/rocketmq
-
id
:
praiseItemSentinel
uri
:
lb://project-provider
predicates
:
-
Path=/praise/sentinel
-
id
:
queryPraise
uri
:
lb://project-consumer
predicates
:
-
Path=/praise/query
-
id
:
user
uri
:
lb://user
predicates
:
-
Path=/user/**, /v1/team/**, /v1/user/**
-
id
:
order
uri
:
lb://project-order
predicates
:
-
Path=/order/**
-
id
:
gis
uri
:
lb://gis
uri
:
lb://
project-
gis
predicates
:
-
Path=/gis/**
-
id
:
district
uri
:
lb://district
uri
:
lb://
project-
district
predicates
:
-
Path=/district/**
-
id
:
order
uri
:
lb://order
predicates
:
-
Path=/order/**
auth
:
path
:
/test/**,/user/**,/v1/**,/gis/**
# 需要认证的路边列表,多个用逗号连接
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment