From 27754165d310a09a01ddeb5c96df605717e1bdbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=94=E4=BB=A4=E9=A3=9E?= Date: Tue, 5 Mar 2024 22:38:17 +0800 Subject: [PATCH] docs: update docs to correct path from change_password to change-password --- docs/guide/zh-CN/api/user.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/zh-CN/api/user.md b/docs/guide/zh-CN/api/user.md index 7caf1ca4..4cb3fea1 100644 --- a/docs/guide/zh-CN/api/user.md +++ b/docs/guide/zh-CN/api/user.md @@ -164,10 +164,10 @@ Null **输入示例** ```bash -curl -XPOST -H'Content-Type: application/json' -d'{ +curl -XPOST -H'Content-Type: application/json' -H'Authorization: Basic $(echo -n 'foo:Foo@2020'|base64)' -d'{ "oldPassword": "Foo@2020", "newPassword": "Foo@2021" -}' http://marmotedu.io:8080/v1/users/foo/change_password +}' http://marmotedu.io:8080/v1/users/foo/change-password ``` **输出示例**