Spring Cloud网关(GateWay)搭建并整合nacos、sentinel、knife4j
文章目录1、微服务之间令牌传递2、整合nacos|sentinel2.1 引入依赖2.2 nacos|sentinel配置3、整合knife4j3.1 引入依赖3.2 配置类3.3 yaml配置4、请求转发|跨域配置1、微服务之间令牌传递package com.framework.gateway.filter;import com.alibaba.fastjson.JSONObject;import com.framework.common.redis.service.RedisService;
复制链接