Browse Source

Merge branch 'gin-vue-admin_v2_dev' of https://github.com/flipped-aurora/gin-vue-admin into gin-vue-admin_v2_dev

klausY 4 years ago
parent
commit
e09c914edf
3 changed files with 16 additions and 1 deletions
  1. 8 0
      README-zh_CN.md
  2. 7 0
      README.md
  3. 1 1
      server/api/v1/sys_auto_code.go

+ 8 - 0
README-zh_CN.md

@@ -146,6 +146,14 @@ swag init
 
 ![架构图](./docs/gin-vue-admin.png)
 
+<p style="text-align: center">架构图</p>
+
+
+
+![前端架构图](http://qmplusimg.henrongyi.top/naotu.png)
+
+<a style="text-align: center">前端结构图 提供者:<a href="https://github.com/baobeisuper">baobeisuper</a></p>
+
 ```
     ├─server  	     (后端文件夹)
     │  ├─api            (API)

+ 7 - 0
README.md

@@ -146,6 +146,13 @@ After executing the above command,`docs` will show in `server/`,then open yo
 
 ![Architecture diagram](./docs/gin-vue-admin.png)
 
+<p style="text-align: center">Architecture diagram</p>
+
+
+![Front-end Architecture diagram](http://qmplusimg.henrongyi.top/naotu.png)
+
+<a style="text-align: center">Front-end Architecture diagram Provider:<a href="https://github.com/baobeisuper">baobeisuper</a></p>
+
 ```
     ├─server  	     (backend)
     │  ├─api            (API entrance)

+ 1 - 1
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,