jeecg单体转微服务
启动JeecgNacosApplication JeecgGatewayApplication JeecgSystemCloudApplication 等你需要的微服务,原来的单体服务就不用启了,因为JeecgSystemCloudApplication是总体

前端配置的后端地址中去掉jeecg-boot

接口调式也不需要加context-path: /jeecg-boot 路径

但是需要admin账号登录配置路由网关才能将接口调式的请求转发到你写的接口上,对应好你的模块名,别的模块多配置也会转发不上去



Feign微服务之间调用(底层http请求)
在你自己的模块api中创建文件夹和三个文件(自定义命名)

发送feign请求返回错误工厂类

发送feign请求返回错误具体类,里面可以写如果错误的逻辑比如日志等

真正发送feign的接口,value属性 指定服务提供者的名称,就是在注册中心注册的名称



在自己模块的biz中注入该接口就可以使用了

需要为被调用方配置路由网关
