Coder Social home page Coder Social logo

muuga's People

Contributors

cuter44 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

muuga's Issues

『意愿』相关接口改进

可以将『意愿』的多个接口合并为一个以减少请求次数,具体就是弄一个字段来表明客户端要进行的操作。比如该字段为 deal,用4位二进制来表示所有的操作。

API 稳定性存在问题

我在调用搜索接口的时候,发现多次发送同一个请求会返回不同的结果,有时正常有时不正常。错误的结果有如下信息:

{
"error": "!error",
"msg": "could not prepare statement"
}
返回码:400

另外在调用登录或注销接口也存在这种情况,怀疑大部分接口都会这样。

多个 API 的返回信息不明确

虽然部分 API 的返回信息有链接到对应 JavaDoc,但是太『难看』了,而且 JavaDoc 页面也没对返回哪些字段进行描述。

/user/search.api

这个 API 的只是用来在登录的时候获取用户信息?这样一般只会返回一个用户,应该不存在需要进行分页和排序的情况,用户应该只可以通过邮件或用户名登录,按照这种设计的话,我需要判断用户输入的是邮箱还是用户名。

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.