api

api接口文档


用户登录

请求URL:

  • http://119.91.153.159:81/user/login

请求方式:

  • POST

参数:

参数名 必选 类型 说明
user string
pass int

返回示例

{
  "code": 200,
  "message": "登录成功",
  "user": {
    "id": "38",
    "username": "root",
    "head_img": "http://119.91.153.159:81/upload/2022/06/",
    "nickname": "我是谁",
    "email": "3195762813@qq.com",
    "create_time": "2022-07-07 14:28:43"
  },
  "login_time": "2022-07-17 14:16:15"
}

页面列表

ITEM_HTML