From 8af7b252aa013c2ab54e183c601abb1821b5773b Mon Sep 17 00:00:00 2001 From: YunaiV <> Date: Sun, 5 Jul 2020 23:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=85=A5=20IDEA=20REST=20Client=20?= =?UTF-8?q?=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/admin/AdminController.http | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/management-web-app/src/main/java/cn/iocoder/mall/managementweb/controller/admin/AdminController.http b/management-web-app/src/main/java/cn/iocoder/mall/managementweb/controller/admin/AdminController.http index e69de29b..74a498fa 100644 --- a/management-web-app/src/main/java/cn/iocoder/mall/managementweb/controller/admin/AdminController.http +++ b/management-web-app/src/main/java/cn/iocoder/mall/managementweb/controller/admin/AdminController.http @@ -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 + +### +