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)); } }