feat: add new handler for GET admin orders

This commit is contained in:
2026-07-09 16:27:05 +03:00
parent 7916c81ece
commit e4f57759a6
2 changed files with 65 additions and 0 deletions
+1
View File
@@ -66,6 +66,7 @@ func main() {
admin.POST("/register", handlers.RegisterAdmin)
admin.GET("/orders", handlers.GetAllOrders)
admin.PATCH("/orders/:id", handlers.UpdateOrderStatus)
admin.GET("/orders/:id", handlers.GetAdminOrder)
admin.GET("/items/top", handlers.GetTopItems)
admin.PATCH("/items/:id/avatar", handlers.UploadItemAvatar)
admin.POST("/stock/in", handlers.StockIn)