刷新token

This commit is contained in:
COOL 2022-05-17 14:29:37 +08:00
parent 1b6f8c34b1
commit f48144d7c5

View File

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