Code Monkey home page Code Monkey logo

Comments (8)

Linyuzai avatar Linyuzai commented on September 26, 2024
image image

指定服务地址未生效,请问还需要其他配置吗?

你看下控制台有没有打印相关的日志

from concept.

jc5337207 avatar jc5337207 commented on September 26, 2024

控制台有打印,是不是这个匹配路径的问题

image

from concept.

Linyuzai avatar Linyuzai commented on September 26, 2024

控制台有打印,是不是这个匹配路径的问题

image

你在路由上配置的是system为前缀的接口,/user/list肯定是匹配不上的

from concept.

jc5337207 avatar jc5337207 commented on September 26, 2024

了解了,这边在做路由的时候把前缀全部默认去掉了

from concept.

jc5337207 avatar jc5337207 commented on September 26, 2024

Uploading image.png…
那请问配置了stripPrefix=1后能够使用您这个库么?

from concept.

jc5337207 avatar jc5337207 commented on September 26, 2024

image

from concept.

Linyuzai avatar Linyuzai commented on September 26, 2024
image

理论上应该可以,不过我没有单独测试过,路由规则是SpringGateway解析的,我这边只是处理解析之后的service和uri,并不是直接把前缀去掉,所以可视化页面上会有一列匹配服务用于指定对应的服务

from concept.

jc5337207 avatar jc5337207 commented on September 26, 2024

最终还是配置了 spring.cloud.nacos.discovery.group

from concept.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.