Code Monkey home page Code Monkey logo

demo-passport's Introduction

用户登录模块

系统用户登录、登出模块

用户表(t_user)


字段 类型 是否为空 中文名
id varchar(32) primary key not null id
username varchar(50) not null 登录名
passwd varchar(32) not null 密码
displayname varchar(50) not null 姓名

功能模块


RESTFUL接口

  • 用户登录

暴露的接口及类型

url:/login/findBy_username_passwd
type: post

返回数据的JSON格式,(引用com.ocs.ms.json.JsonResult类)

{
"code":200,
"message":"后台返回处理结果消息",
"data":"如果不传入数据则留空"
}
  • 用户登出

暴露的接口及类型

url: /logout
type: get

返回数据的JSON格式,(引用com.ocs.ms.json.JsonResult类)

{
"code":200,
"message":"后台返回处理结果消息",
"data":"如果不传入数据则留空"
}

demo-passport's People

Contributors

gzocs avatar allen0769 avatar

Watchers

James Cloos avatar  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.