Giter Club home page Giter Club logo

carpool-back-end's People

Contributors

airtnp avatar lukexuan avatar songqun avatar syqian avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

carpool-back-end's Issues

Add /user/profile in Route

It is impossible to have access to profile now.

Reference

GET /user/profile/:id

Get the profile of somebody.

params

No param

return

   'version': '1.0',
   'error': 0,
   'msg': {
        'name': 'dustism',
        'email': '[email protected]'
   }

POST /user/profile

Update the profile

params

param value comment
username 'nvzhuang'

return

   'version': '1.0',
   'error': 0,
   'msg': ...

微信登录

调用微信公众号的api,在访问网页的时候获取用户的openid进行登录

  • 需要实现的是 POST /user/authToken 接口(参考README),可以直接在UserController里开个函数写
  • 不需要密码
  • 需要多填一下用户名或者调接口读微信的nickname

@Airtnp

1.0 Milestone

Preparing for the first version.

  • Complete CURD of the database. See also #1 #2 #3
  • Correct API
  • API DOC
  • Deployment

登录挂了

微信不能正常跳转登录,有可能是API的问题

订单的增和改

在ListController里填充add 和update的细节,有兴趣可以做做remove

不要吐槽我在controller直接调用数据库,如果有兴趣可以封装一层model

登陆状态存好uid

把uid可读作为登陆成立的标志,存在类似session的地方

  • 读得到,通过(中间件机制)
  • 读不到,请求重新登陆

@Airtnp

wgate_id problem

  1. wgate_id不是唯一的(这存在数据库感觉要出事..)每次请求都会变而且过期速度很快
  2. 过期的wgate_id请求会返回string..需要判断然后重新redirect..

Conf of Nginx

No idea about how to configure laravel since everything is ok but $request->has is broken under my conf.

Now I use reverse_proxy.

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.