Enhance tender management with recommended tenders endpoint and search form update
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
- Added a new endpoint in the `tender` handler for retrieving AI-ranked tender recommendations for a company, improving the functionality of the admin panel. - Updated the `SearchForm` to include a query parameter for `only_active_deadlines`, allowing for more flexible search options. - Enhanced API documentation for the new endpoint to provide clear usage instructions and expected parameters. This update improves the tender management system by providing administrators with better tools for accessing relevant tender information.
This commit is contained in:
@@ -73,6 +73,7 @@ func RegisterAdminRoutes(e *echo.Echo, userHandler *user.Handler, companyHandler
|
||||
companiesGP.Use(userHandler.AuthMiddleware())
|
||||
companiesGP.POST("", companyHandler.Create)
|
||||
companiesGP.GET("", companyHandler.Search)
|
||||
companiesGP.GET("/:id/recommended-tenders", tenderHandler.AdminRecommendTenders)
|
||||
companiesGP.GET("/:id", companyHandler.Get)
|
||||
companiesGP.PUT("/:id", companyHandler.Update)
|
||||
companiesGP.DELETE("/:id", companyHandler.Delete)
|
||||
|
||||
Reference in New Issue
Block a user