We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb01bd2 commit 03ee95dCopy full SHA for 03ee95d
src/controllers/admin/system/account/account.controller.ts
@@ -44,7 +44,7 @@ export class AccountController {
44
45
46
@ApiOperation({ summary: '修改账号自己密码', description: '传递新老密码修改密码' })
47
- @Patch('modify_password')
+ @Post('modify_password')
48
@HttpCode(HttpStatus.OK)
49
async modifyPassword(
50
@CurrentUser('id') id: string,
0 commit comments