fix(front,back) Добавил на бек выгрузку категорий, начало разработки shop
This commit is contained in:
@@ -44,6 +44,7 @@ func main() {
|
||||
protected.DELETE("/items/:id", handlers.DeleteItem)
|
||||
protected.PATCH("/items/:id", handlers.UpdateItem)
|
||||
protected.POST("/items", handlers.AddItem)
|
||||
protected.GET("/getCategories", handlers.GetCategories)
|
||||
}
|
||||
|
||||
admin := protected.Group("/")
|
||||
|
||||
Reference in New Issue
Block a user