From 8b9f72a78e0694ae3e4d169a4a19ca140182e05b Mon Sep 17 00:00:00 2001 From: ganl <769323213@qq.com> Date: Tue, 11 Sep 2018 14:07:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drestful=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=EF=BC=8C=E6=B2=A1=E6=9C=89=E8=80=83=E8=99=91=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E7=9A=84HTTP=20Method=EF=BC=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E2=80=9C=E5=8C=B9=E9=85=8D=E5=88=B0=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E6=8E=A5=E5=8F=A3=E2=80=A6=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/mock.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/mock.ts b/src/routes/mock.ts index 6a13267..63f27fe 100644 --- a/src/routes/mock.ts +++ b/src/routes/mock.ts @@ -170,6 +170,7 @@ router.all('/app/mock/:repositoryId(\\d+)/:url(.+)', async (ctx) => { attributes: ['id', 'url', 'method'], where: { repositoryId: [repositoryId, ...collaborators.map(item => item.id)], + method }, })