diff --git a/README-zh_CN.md b/README-zh_CN.md index 96af8fd7..eb281f7c 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -146,6 +146,14 @@ swag init  +
架构图
+ + + + + +前端结构图 提供者:baobeisuper + ``` ├─server (后端文件夹) │ ├─api (API) diff --git a/README.md b/README.md index 4f632b82..80225946 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,13 @@ After executing the above command,`docs` will show in `server/`,then open yo  +Architecture diagram
+ + + + +Front-end Architecture diagram Provider:baobeisuper + ``` ├─server (backend) │ ├─api (API entrance) diff --git a/server/api/v1/sys_auto_code.go b/server/api/v1/sys_auto_code.go index bd3c7e76..a4a146ff 100644 --- a/server/api/v1/sys_auto_code.go +++ b/server/api/v1/sys_auto_code.go @@ -39,7 +39,7 @@ func CreateTemp(c *gin.Context) { Path: "/" + a.Abbreviation + "/" + "update" + a.StructName, Description: "更新" + a.StructName, ApiGroup: a.Abbreviation, - Method: "POST", + Method: "PUT", }, { Path: "/" + a.Abbreviation + "/" + "find" + a.StructName,