This commit is contained in:
laodaming
2023-10-19 18:42:28 +08:00
parent b81a3682c2
commit dc959ec49b
3 changed files with 16 additions and 0 deletions

View File

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