|
@@ -25,7 +25,6 @@ func OpsAPI(opts ...func(engine *gin.Engine)) func(s *gin.Engine) {
|
|
|
opsRoute.POST("/pasture/is_show", pasture.IsShowGroupPasture)
|
|
|
|
|
|
// 牲牧类型
|
|
|
- // opsRoute.GET("/cattle/category/parent_list", pasture.ParentCattleCategoryList)
|
|
|
opsRoute.POST("/cattle/category/add", pasture.AddCattleCategory)
|
|
|
opsRoute.POST("/cattle/category/edit", pasture.EditCattleCategory)
|
|
|
opsRoute.POST("/cattle/category/is_show", pasture.IsShowCattleCategory)
|
|
@@ -33,7 +32,6 @@ func OpsAPI(opts ...func(engine *gin.Engine)) func(s *gin.Engine) {
|
|
|
opsRoute.POST("/cattle/category/list", pasture.SearchCattleCategory)
|
|
|
|
|
|
// 饲料类别
|
|
|
- // opsRoute.GET("/forage/category/parent_list", pasture.ParentForageCategoryList)
|
|
|
opsRoute.POST("/forage/category/add", pasture.AddForageCategory)
|
|
|
opsRoute.POST("/forage/category/edit", pasture.EditForageCategory)
|
|
|
opsRoute.POST("/forage/category/is_show", pasture.IsShowForageCategory)
|