版权声明:如若引用,请注明出处。喜欢我,关注我! https://blog.csdn.net/GY325416/article/details/83111020
比如你的文件服务这样上传:http://127.0.0.1:7008/file/upload
经过网关是这样:http://127.0.0.1:7004/file-system/file/upload
那么解决方案为:http://127.0.0.1:7004/zuul/file-system/file/upload
不要怀疑,加上zuul试试