From 819ffde48fcb88230e5a0dfa1aa21a37c87fb930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=94=E4=BB=A4=E9=A3=9E?= Date: Thu, 4 Apr 2024 18:41:42 +0800 Subject: [PATCH] docs: update README.md --- README.md | 2 ++ docs/guide/zh-CN/api/user.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f8025393..bc1220dc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # IAM - 身份识别与访问管理系统 +**欢迎加入我的新课程 [孔令飞的云原生实战营](https://konglingfei.com),带你进阶为 Go + 云原生高级开发工程师。** + IAM = **I**dentity and **A**ccess **M**anagement IAM 是一个基于 Go 语言开发的身份识别与访问管理系统,用于对资源访问进行授权。**最新稳定版本为:v1.6.2,建议基于稳定版安装测试**。 diff --git a/docs/guide/zh-CN/api/user.md b/docs/guide/zh-CN/api/user.md index 4cb3fea1..6391da49 100644 --- a/docs/guide/zh-CN/api/user.md +++ b/docs/guide/zh-CN/api/user.md @@ -164,7 +164,7 @@ Null **输入示例** ```bash -curl -XPOST -H'Content-Type: application/json' -H'Authorization: Basic $(echo -n 'foo:Foo@2020'|base64)' -d'{ +curl -XPUT -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