Giter Site home page Giter Site logo

Comments (5)

Tamicer avatar Tamicer commented on May 5, 2024

也可以的

from novate.

mrchenmo avatar mrchenmo commented on May 5, 2024

还有BaseApiservice这个类的@post({url})和@path的url实际上也是拼接不上的,我在项目上试了很多次。
@post("{path}")
Observable executePost(
@path(value = "path", encoded = true) String path,
@QueryMap Map<String, String> map
);
后来经过学习更改成这样了,希望作者可以继续维护这个库。还有一个问题我不明白,建造者模式的Builder和build产生了许多无用的方法和变量,是不是可以优化下,我还没有彻底理解建造者模式所以没有去动代码。作者有没有联系方式啊,这个库还是很好的,我想好好优化下,自用

from novate.

Tamicer avatar Tamicer commented on May 5, 2024

这里的url值的全路径(host+path), 并不是只是path

from novate.

spmonk avatar spmonk commented on May 5, 2024

@NeglectedByBoss hello,你的Novate是不是单例的,如果想切换baseurl,是不是需要重新实例化

from novate.

Tamicer avatar Tamicer commented on May 5, 2024

是的

from novate.

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.