This commit is contained in:
laodaming
2023-09-15 17:59:33 +08:00
parent da8f88b3e6
commit ab6f3249a2
3 changed files with 44 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/api/shopping-cart/get_carts",
Handler: GetCartsHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/api/shopping-cart/calculate_cart_price",
Handler: CalculateCartPriceHandler(serverCtx),
},
},
)
}