public async Task <IActionResult> RemoveShopCart(string userName) { return(Ok(await _shopCartRepository.DeleteShopCart(userName))); }
/// <summary> /// 删除购物车商品 /// </summary> /// <param name = "id" ></ param > /// < returns ></ returns > public int DeleteShopCart(string id) { return(_ShopCartRepository.DeleteShopCart(id)); }