Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-03-06 14:49:57 +03:00
parent 807bbad0e7
commit 6df18ed14d

View File

@@ -556,6 +556,21 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
"order", "view", "order", "view",
wrapV3(http.HandlerFunc(routes.GetProductSecondColorsHandler)), 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-stock-attribute-options", "GET",
"order", "view",
wrapV3(http.HandlerFunc(routes.GetProductStockAttributeOptionsHandler)),
)
bindV3(r, pgDB,
"/api/product-stock-query-by-attributes", "GET",
"order", "view",
wrapV3(http.HandlerFunc(routes.GetProductStockQueryByAttributesHandler)),
)
// ============================================================ // ============================================================
// ROLE MANAGEMENT // ROLE MANAGEMENT