潘志宝
2024-12-16 df99e46312fdd5ee830f1451e478f6658e09f9ed
提交 | 用户 | 时间
e7c126 1 ### /role/create 成功
H 2 POST {{baseUrl}}/system/role/create
3 Authorization: Bearer {{token}}
4 Content-Type: application/json
5 tenant-id: {{adminTenentId}}
6
7 {
8   "name": "测试角色",
9   "code": "test",
10   "sort": 0
11 }
12
13 ### /role/update 成功
14 POST {{baseUrl}}/system/role/update
15 Authorization: Bearer {{token}}
16 Content-Type: application/json
17 tenant-id: {{adminTenentId}}
18
19 {
20   "id": 100,
21   "name": "测试角色",
22   "code": "test",
23   "sort": 10
24 }
25 ### /resource/delete 成功
26 POST {{baseUrl}}/system/role/delete
27 Content-Type: application/x-www-form-urlencoded
28 Authorization: Bearer {{token}}
29 tenant-id: {{adminTenentId}}
30
31 roleId=14
32
33 ### /role/get 成功
34 GET {{baseUrl}}/system/role/get?id=100
35 Content-Type: application/x-www-form-urlencoded
36 Authorization: Bearer {{token}}
37 tenant-id: {{adminTenentId}}
38
39 ### /role/page 成功
40 GET {{baseUrl}}/system/role/page?pageNo=1&pageSize=10
41 Authorization: Bearer {{token}}
42 tenant-id: {{adminTenentId}}