GateWay的作用:请求转发,负载均衡,解决跨域问题,权限过滤
1.创建网关服务模块,引入依赖
2.创建启动类,加注解,在配置文件中配置网关规则
3.复制相关工具类
config:解决跨域
filter:权限过滤
handler:异常处理