-
请求方式:POST
-
参数:username、password
- 说明:
- username:用户名
- password:密码
- 举例:
- 吴洁需要登陆:
username="吴洁",password="wujie321"
- 吴洁需要登陆:
- 说明:
-
返回结果
- 正确请求:
{ "status_code":200, "msg":{ "error_msg":"", "token":"token值", "id":"id值", "name":"姓名", "is_headdepart":"是否系主任,1是,0否", "is_inspector":"是否检查员,1是,0否", "is_headteacher":"是否班主任,1是,0否", "permission_level":"权限等级,1~4级,4级最高", } }
- 错误请求:
- 参数错误(即"username"或"password"这两个单词拼写错误,或者它们对应的值为空):
{ "status_code":200, "msg":{ "error_msg":"用户名或密码为空!", "token":"", "id":"", "name":"", "is_headdepart":"", "is_inspector":"", "is_headteacher":"", "permission_level":"", } }
- 用户名或密码错误:
{ "status_code":200, "msg":{ "error_msg":"用户名或密码有误!", "token":"", "id":"", "name":"", "is_headdepart":"", "is_inspector":"", "is_headteacher":"", "permission_level":"", } }
- 正确请求:
-
举例如图:
cls_sys's Introduction
cls_sys's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.