/// <summary> /// 删除用户购物车中所有的项目 /// </summary> public void EmptyCart() { cm.DeleteByCartId(ShoppingCartId); }