Commit 3610b4b4 by 王昆

gsb

parent 60da9d0f
......@@ -6,6 +6,7 @@
1. [删除](#delRole)
1. [列表(条件)](#listRole)
1. [明细](#queryById)
1. [设置权限](#setAuth)
## **<a name="addRole"> 添加</a>**
[返回到目录](#menu)
......@@ -162,4 +163,36 @@
"requestid": "b642284a921f4655bdec81f50cb45f1d"
}
```
1. [](#)
## **<a name="setAuth"> 设置权限</a>**
[返回到目录](#menu)
##### URL
[/web/uc/roleCtl/setAuth]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
``` javascript
{
"id": 1, //记录ID 必传
"authIds": [1,2,3,4,5,6,7,8] // 选择的权限id
}
```
#### 返回结果
```javascript
{
"status": 0,
"msg": "操作成功",
"data": {},
"bizmsg": "empty",
"requestid": "b642284a921f4655bdec81f50cb45f1d"
}
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment