GithubHelp home page GithubHelp logo

Comments (4)

yinjihuan avatar yinjihuan commented on June 1, 2024 1

合并了配置 https://github.com/yinjihuan/monkey-api-encrypt/releases/tag/1.2.1.RELEASE

from monkey-api-encrypt.

yinjihuan avatar yinjihuan commented on June 1, 2024

没太明白你的点,现在也可以在配置文件中配置忽略哪些接口,不知道你是否要的是这个

from monkey-api-encrypt.

dawnFlyme avatar dawnFlyme commented on June 1, 2024

我的意思是加注解配置忽略后,文件配置忽略哪些接口就会失效。
上面的截图是获取忽略url list,上图中getRequestDecyptUriIgnoreList()方法中你先判断了ApiEncryptDataInit.requestDecyptUriIgnoreList.size()中有没有数据,有数据则返回。但这个数据是通过注解加载来的。this.requestDecyptUriIgnoreList;则是加载配置文件中的忽略的url。所以我想说的是注解的配置优先级会大于配置文件。
但是实际场景可能都会用到,就比如swagger的请求路径其实不需要用注解配置。
不知道有没有阐述清楚 感谢

from monkey-api-encrypt.

yinjihuan avatar yinjihuan commented on June 1, 2024

明白了,之前的想法是只有一种方式的配置,要么注解,要么配置文件,如果有注解就优先。后面可以考虑合并

from monkey-api-encrypt.

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.