dsmzx
2024-06-14 c14c24cad0f8ec362cacc1368c115bb5b4de9744
router/router.go
@@ -66,6 +66,17 @@
      locationAPI.GET("getLocationTreeList", locationController.GetLocationTreeList)   //获取位置列表树
   }
   // 属性信息
   attributeController := new(controllers.AttributeController)
   attributeAPI := r.Group(urlPrefix + "/attribute")
   {
      attributeAPI.POST("attribute", attributeController.Add)             // 添加属性
      attributeAPI.PUT("updateAttribute/:id", attributeController.Update) // 修改属性
      attributeAPI.DELETE("delete/:id", attributeController.Delete)       // 删除属性
      attributeAPI.GET("attribute", attributeController.List)             // 获取属性
      //attributeAPI.GET("attribute/:id", attributeController.GetAttributeDetail) // 获取属性
   }
   // 业务类型
   operationTypeController := new(controllers.OperationTypeController)
   operationTypeAPI := r.Group(urlPrefix + "/operationType")