去掉 enabled: true
这样会让路径匹配出现问题。
cloud: gateway: globalcors: cors-configurations: '[/**]': allowed-headers: "*" allowed-origins: "*" allowed-methods: "*" discovery: locator: # enabled: true lower-case-service-id: true