From ca41906b9b987a8c8f35d1fc275bbecbc4a337f7 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 24 Sep 2021 14:03:37 +0800 Subject: [PATCH] =?UTF-8?q?+=20=E5=88=86=E9=A1=B5=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/apis/user.http.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/apis/user.http.json b/app/apis/user.http.json index b63f3fba..25350168 100644 --- a/app/apis/user.http.json +++ b/app/apis/user.http.json @@ -38,6 +38,17 @@ "type": "application/json" } }, + { + "path": "/search", + "method": "GET", + "guard": "-", + "process": "models.user.Paginate", + "in": [":params", "$query.page", "$query.pagesize"], + "out": { + "status": 200, + "type": "application/json" + } + }, { "path": "/info/:id", "method": "GET",