文档
测试

查看系统角色

POST
http://192.168.0.148:3000/admin/groupList

接口描述

查看系统角色(仅有此权限的角色可以查看)

请求头

参数名
类型
描述
必填
code
string
示例:识别码
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
data
array
数据列表
必填
id
int
系统角色id 示例:2
必填
title
string
系统角色名 示例:客服售后组
必填
not_delete
int
是否不删除 示例:1
必填
rules
string
所属权限 示例:1,8,15,16,7,13,14,9,17,101,10,19,11,20,12,18,2,21,24,25,26,27,28,29,30,31,32,22,33,23,34,35,36,37,38,45,49,50,51,52,46,53,54,55,5,64,67,68,69,70,65,71,72,73,74,66,75,76,77,99,100
必填
description
string
角色描述 示例:客服售后专用
必填
is_system
int
是系统示例:0:不是 1:是
必填
msg
string
示例:系统角色
必填

说明 / 示例

{ "code": 1, "data": [{ "id": 2, "title": "客服售后组", "not_delete": 1, "rules": "1,8,15,16,7,13,14,9,17,101,10,19,11,20,12,18,2,21,24,25,26,27,28,29,30,31,32,22,33,23,34,35,36,37,38,45,49,50,51,52,46,53,54,55,5,64,67,68,69,70,65,71,72,73,74,66,75,76,77,99,100", "description": "客服售后专用", "is_system": 0 }, { "id": 1, "title": "超级管理员", "not_delete": 1, "rules": "all", "description": "拥有所有权限", "is_system": 1 }], "msg": "系统角色" }