接口文档
接口统一返回格式
- 所有请求的
HEADER
-
Accept
application/json
-
Content-Type
application/x-www-form-urlencoded
- 成功返回
{
"data": {
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL3d3dy5teWNoZW5namkuY29tXC9hcGlcL2xvZ2luIiwiaWF0IjoxNDc4MzQ4NzkyLCJleHAiOjE0NzgzOTE5OTIsIm5iZiI6MTQ3ODM0ODc5MiwianRpIjoiMWFiNTMzZjU1YzY3NThiMDk3MWU3ZDcyYTdlNGY1OTYifQ.MH_qw2O6boTsuuwsowncZaC7ZUnh-COIiDFo8m0ih-k"
},
"msg": "success",
"code": 0,
"status_code": 200
}
{
"code": 1,
"msg": "非法token",
"data": [],
"status_code": 400
}