Skip to content

Commit 03ee95d

Browse files
authored
Update account.controller.ts
修改请方式
1 parent fb01bd2 commit 03ee95d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/admin/system/account/account.controller.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class AccountController {
4444

4545

4646
@ApiOperation({ summary: '修改账号自己密码', description: '传递新老密码修改密码' })
47-
@Patch('modify_password')
47+
@Post('modify_password')
4848
@HttpCode(HttpStatus.OK)
4949
async modifyPassword(
5050
@CurrentUser('id') id: string,

0 commit comments

Comments
 (0)