Explorar o código

删除地区编码数据

pixel %!s(int64=4) %!d(string=hai) anos
pai
achega
68d7ec0c0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/api/v1/sys_auto_code.go

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