gateway-断言- 长短写法

This commit is contained in:
bunny 2025-05-27 14:03:31 +08:00
parent 0bbe4ec39e
commit 1c89bc4814
1 changed files with 6 additions and 1 deletions

View File

@ -9,4 +9,9 @@ spring:
- id: product-route
uri: lb://service-product
predicates:
- Path=/api/product/**
- name: Path
args:
patterns: /api/product/**
matchTrailingSlash: true