说明

角色列表

请求地址

环境 请求地址
测试环境 https://m.umxnt.com/api/role/roleList
正式环境 https://xy.umxnt.com/api/role/roleList

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
  • 返回值示例 成功请求示例:

    {
      "status": 1,
      "data": [
        {
          "id": 8,
          "name": "admin",
          "display_name": "管理员",
          "description": "管理员",
          "created_at": "2017-11-28 00:00:00",
          "updated_at": "2017-11-28 00:00:00"
        },
        {
          "id": 9,
          "name": "superadmin",
          "display_name": "超级管理员",
          "description": "超级管理员",
          "created_at": "2017-11-28 00:00:00",
          "updated_at": "2017-11-28 00:00:00"
        }
      ]
    }
    
  • 失败请求示例

    {
        "msg":"无效参数",
        "status":0
    }
    

results matching ""

    No results matching ""