获取用户基础资料接口

接口地址:

/?d=api&c=user&m=getuserprofile

请求方式 GET

返回数据:

其中sex 值1为男性,2为女性

{
  "status": 1,
  "data": {
    "msg": "获取用户信息成功",
    "user": {
      "id": "3",
      "username": "abei000001",
      "regtime": "1484126869",
      "regip": "10.10.2.199",
      "islock": "1",
      "isdel": "1",
      "lft": "1",
      "rgt": "12",
      "pid": "0",
      "nickname": "",
      "istester": "1",
      "credit": "1",
      "remark": "",
      "name": "阿北",
      "birthday": "11999|11|1",
      "sex": "1",
      "mobile": "1111111111",
      "email": "[email protected]",
      "isblack": "1",
      "firstname": "阿",
      "lastname": "北",
      "lastlogtime": "1486629912"
    }
  }
}

results matching ""

    No results matching ""