filter中注入对象:
https://blog.csdn.net/QQ317139149/article/details/109727274
gateway与nacos:
https://www.cnblogs.com/Lyn4ever/p/12702347.html
gateway的跨域处理:
spring: cloud: gateway: globalcors: cors-configurations: '[/**]': allow-credentials: true allowed-originPatterns: "*" allowed-headers: "*" allowed-methods: - OPTIONS - GET - POST - PUT - DELETE max-age: 3600