feat[BE-298]: add api get one closing general information

This commit is contained in:
giovanni-ce
2025-12-05 17:15:05 +07:00
parent 1e9a637202
commit 4c63bd14c3
5 changed files with 161 additions and 26 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ import (
func ClosingRoutes(v1 fiber.Router, u user.UserService, s closing.ClosingService) {
ctrl := controller.NewClosingController(s)
route := v1.Group("/closings")
route := v1.Group("/closing")
// route.Get("/", m.Auth(u), ctrl.GetAll)
// route.Post("/", m.Auth(u), ctrl.CreateOne)
@@ -21,5 +21,5 @@ func ClosingRoutes(v1 fiber.Router, u user.UserService, s closing.ClosingService
// route.Delete("/:id", m.Auth(u), ctrl.DeleteOne)
route.Get("/", ctrl.GetAll)
route.Get("/:id", ctrl.GetOne)
route.Get("/:projectFlockId", ctrl.GetClosingSummary)
}