diff --git a/gateway/router/router.go b/gateway/router/router.go index 7746278..1138184 100644 --- a/gateway/router/router.go +++ b/gateway/router/router.go @@ -108,13 +108,6 @@ func Routes() *gin.Engine { }) } - // apiCoreBranch := apiCore.Group(`/api/branch`) - // { - // apiCoreBranch.GET(`/`, handleCoreAPI("/api/branch/")) - // apiCoreBranch.GET(`/:id`, handleCoreAPIWithId("/api/branch")) - // apiCoreBranch.PUT(`/:id`, handleCoreAPIWithId("/api/branch")) - // } - apiCoreCondition := apiCore.Group(`/api/condition`) { apiCoreCondition.Use(func(c *gin.Context) { @@ -147,15 +140,6 @@ func Routes() *gin.Engine { }) } - // apiCoreCondition := apiCore.Group(`/api/condition`) - // { - // apiCoreCondition.GET(`/`, handleCoreAPI("/api/condition/")) - // apiCoreCondition.POST(`/new`, handleCoreAPI("/api/condition/new")) - // apiCoreCondition.GET(`/:id`, handleCoreAPIWithId("/api/condition")) - // apiCoreCondition.PUT(`/:id`, handleCoreAPIWithId("/api/condition")) - // apiCoreCondition.DELETE(`/:id`, handleCoreAPIWithId("/api/condition")) - // } - apiCoreDirectory := apiCore.Group(`/api/directory`) { apiCoreDirectory.GET(`/`, handleCoreAPI("/api/directory/"))