Coder Social home page Coder Social logo

frontend's Introduction

frontend

创建用户

#url v1/user/create

#email注册 1)type =1 2)user_email 3)user_pwd md5后传过来

{
success: 1
data: {
user_sex: "S"
user_token_id: "1364"
user_email: "[email protected]"
user_pwd: "134d2faab6219d698ea5d30ab75602a8"
nick_name: "abdddc"
user_ext: "1"
user_id: "1366"
user_ext_id: null
user_ext_name: null
user_ico_n: null
user_ico_b: null
user_ico_s: null
user_back_img: null
user_token: "d7bba7e09228f3e17616fa27677e0aeeb9740e92"
token_start: 1435743147
token_end: 1435746747
}-
message: ""
}

#第三方用户注册 1)user_ext_id 2)user_ico 用户头象 3)nick_name 用户昵称 4)unique_str 第三方平台唯一标识

成功时返回

{
success: 1
data: {
user_sex: "S"
user_token_id: 0
nick_name: "adfddd"
unique_str: "ffddss222"
user_ext: "2"
user_ext_name: "face_book"
user_ico_b: "xxxxx.jpg"
access_token: "12f92047590eff25db400a459164ec19"
user_id: "1369"
user_pwd: null
user_email: null
user_ico_n: null
user_ico_s: null
user_back_img: null
}-
message: ""
}

frontend's People

Contributors

netasp avatar

Watchers

 avatar

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.