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 ``` **输出示例**