public object GetClearBranchCartInvalidProducts(long shopBranchId) { long userId = CurrentUser != null ? CurrentUser.Id : 0; CartApplication.ClearInvalidShopBranchCart(userId, shopBranchId); return(Json("")); }
/// <summary> /// 清理门店购物车所有无效商品 /// </summary> /// <param name="shopBranchId"></param> /// <returns></returns> public JsonResult <Result <int> > GetClearBranchCartInvalidProducts(long shopBranchId) { long userId = CurrentUser != null ? CurrentUser.Id : 0; CartApplication.ClearInvalidShopBranchCart(userId, shopBranchId); return(JsonResult <int>()); }