lishihai
2024-06-14 7af977218be09a1ff8e9ac6740dfd22983aa33d2
router/router.go
@@ -188,5 +188,13 @@
      codeApi.POST("getAutoCode", codeApiController.GetAutoCode) //获取自动编码
   }
   attributeValueController := new(controllers.AttributeValueController)
   attributeValueAPI := r.Group(urlPrefix + "/attributeValue")
   {
      attributeValueAPI.POST("add", attributeValueController.AddAttributeValue)
      attributeValueAPI.POST("update", attributeValueController.UpdateAttributeValue)
      attributeValueAPI.DELETE("delete/:id", attributeValueController.DeleteAttributeValue) //删除位置
   }
   return r
}