Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-03-03 23:28:43 +03:00
parent da33f30dd0
commit 4dc0415546
8 changed files with 1558 additions and 0 deletions

View File

@@ -555,6 +555,24 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
wrapV3(http.HandlerFunc(routes.GetProductSecondColorsHandler)),
)
bindV3(r, pgDB,
"/api/product-stock-query", "GET",
"order", "view",
wrapV3(http.HandlerFunc(routes.GetProductStockQueryHandler)),
)
bindV3(r, pgDB,
"/api/product-images", "GET",
"order", "view",
wrapV3(routes.GetProductImagesHandler(pgDB)),
)
bindV3(r, pgDB,
"/api/product-images/{id}/content", "GET",
"order", "view",
wrapV3(routes.GetProductImageContentHandler(pgDB)),
)
// ============================================================
// ROLE MANAGEMENT
// ============================================================