/// <summary>
        /// 编辑购物车项数量
        /// </summary>
        /// <param name="shopCartCommodityUpdateDto">购物车编辑实体</param>
        /// <returns></returns>
        public ResultDTO <ShopCartUpdateResultDTO> UpdateShoppingCart2(Jinher.AMP.BTP.Deploy.CustomDTO.ShopCartCommodityUpdateDTO shopCartCommodityUpdateDto)
        {
            //定义返回值
            ResultDTO <ShopCartUpdateResultDTO> result;

            try
            {
                //调用代理方法
                result = base.Channel.UpdateShoppingCart2(shopCartCommodityUpdateDto);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Exemple #2
0
 /// <summary>
 /// 编辑购物车项数量
 /// </summary>
 /// <param name="shopCartCommodityUpdateDto">购物车编辑实体</param>
 /// <returns></returns>
 public ResultDTO <ShopCartUpdateResultDTO> UpdateShoppingCart2(Jinher.AMP.BTP.Deploy.CustomDTO.ShopCartCommodityUpdateDTO shopCartCommodityUpdateDto)
 {
     base.Do(false);
     return(this.UpdateShoppingCart2Ext(shopCartCommodityUpdateDto));
 }