接入 IDEA REST Client 插件

This commit is contained in:
YunaiV 2020-07-05 23:14:57 +08:00
parent cf7cedbd06
commit 8af7b252aa
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
### /admin/page 成功
GET {{baseUrl}}/admin/page?pageNo=1&pageSize=10
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{accessToken}}
### /admin/create 成功
POST {{baseUrl}}/admin/create
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{accessToken}}
username=admin02&password=buzhidao&name=测试管理员&departmentId=1
### /admin/update 成功
POST {{baseUrl}}/admin/update
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{accessToken}}
id=31&username=admin02&password=buzhidao&name=测试管理员&departmentId=1
### /admin/update-status 成功
POST {{baseUrl}}/admin/update-status
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{accessToken}}
id=31&status=1
###