From f48144d7c5424290a84f3dddb0333a0656af586b Mon Sep 17 00:00:00 2001 From: COOL Date: Tue, 17 May 2022 14:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B7=E6=96=B0token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/base/controller/admin/open.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/base/controller/admin/open.ts b/src/modules/base/controller/admin/open.ts index 46e69a8..86aeabe 100644 --- a/src/modules/base/controller/admin/open.ts +++ b/src/modules/base/controller/admin/open.ts @@ -67,7 +67,7 @@ export class BaseOpenController extends BaseController { * 刷新token */ @Get('/refreshToken', { summary: '刷新token' }) - async refreshToken(@Query() refreshToken: string) { + async refreshToken(@Query('refreshToken') refreshToken: string) { return this.ok(await this.baseSysLoginService.refreshToken(refreshToken)); } }