Coder Social home page Coder Social logo

Comments (6)

xiaoymin avatar xiaoymin commented on May 22, 2024

这个是你自己服务关了吧,或者程序有问题?

from knife4j.

xqdd avatar xqdd commented on May 22, 2024

是服务器关了,但一般要给个错误提示吧
image

from knife4j.

xqdd avatar xqdd commented on May 22, 2024

image
在这里顺便提一下,这个启用增强功能开关应该在后台配置吧,要是后台排了顺序,当然是希望这个开关是打开的,而不是又要去叫前端先把这个开关打开(我想现在在做的项目中前端分管理端和小程序端,要叫他们打开这个开关,这就有点奇怪),最后,我提这这么多是把我使用过程中的感觉到的不足提出来,改不改由作者大大决定,感谢

from knife4j.

xiaoymin avatar xiaoymin commented on May 22, 2024

image
在这里顺便提一下,这个启用增强功能开关应该在后台配置吧,要是后台排了顺序,当然是希望这个开关是打开的,而不是又要去叫前端先把这个开关打开(我想现在在做的项目中前端分管理端和小程序端,要叫他们打开这个开关,这就有点奇怪),最后,我提这这么多是把我使用过程中的感觉到的不足提出来,改不改由作者大大决定,感谢

这个问题是有一个主次问题,前端doc.html是ajax请求后端的地址的,对于前端来说,它并不知道后端开启了这个增强,而且一开始就请求这个会有兼容问题

或者从另外一个方面来说,如果是一个针对swagger接口管理的这么一个系统,针对一个api的地址做管理,来开启是否增强,那这种方式就是可以达到你说的那种效果

两种性质不一样

from knife4j.

xiaoymin avatar xiaoymin commented on May 22, 2024

是服务器关了,但一般要给个错误提示吧
image

这个可以做优化,下个版本把这个问题考虑进去,优化一下

from knife4j.

xiaoymin avatar xiaoymin commented on May 22, 2024

1.8.8 已优化

from knife4j.

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.