分布式部署(不同服务存放不同服务器)
192.168.8.231是kafka/zookeeper/nacos/redis192.168.8.232是gateway:2019服务/back:9002服务192.168.8.233是schedule:9006服务1.修改bootstrap.yml中的nacos地址fisher-gateway-servicefisher-back-servicefisher-schedule-service
·
192.168.8.231是kafka/zookeeper/nacos/redis
192.168.8.232是gateway:2019服务/back:9002服务
192.168.8.233是schedule:9006服务
1.修改bootstrap.yml中的nacos地址
fisher-gateway-service
fisher-back-service
fisher-schedule-service
2.修改nacos中的nacos地址
fisher-gateway-service
fisher-back-service
fisher-schedule-service
3.测试接口
http://192.168.8.232:9002/menu/selectMenuTreeByRole
http://192.168.8.233:9006/publishPlan/selectInOutPortView?current=1&size=1000&shipStatus=%E8%BF%9B%E5%8F%A3&ascSort=PLAN_BERTH_TIME
4.测试通过路由跳转
http://192.168.8.232:2019/admin/menu/selectMenuTreeByRole
http://192.168.8.232:2019/schedule/publishPlan/selectInOutPortView?current=1&size=1000&shipStatus=%E8%BF%9B%E5%8F%A3&ascSort=PLAN_BERTH_TIME
更多推荐
已为社区贡献1条内容
所有评论(0)