mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 14:10:29 +08:00
刷新token
This commit is contained in:
parent
1b6f8c34b1
commit
f48144d7c5
@ -67,7 +67,7 @@ export class BaseOpenController extends BaseController {
|
|||||||
* 刷新token
|
* 刷新token
|
||||||
*/
|
*/
|
||||||
@Get('/refreshToken', { summary: '刷新token' })
|
@Get('/refreshToken', { summary: '刷新token' })
|
||||||
async refreshToken(@Query() refreshToken: string) {
|
async refreshToken(@Query('refreshToken') refreshToken: string) {
|
||||||
return this.ok(await this.baseSysLoginService.refreshToken(refreshToken));
|
return this.ok(await this.baseSysLoginService.refreshToken(refreshToken));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user