Exemplo n.º 1
0
 /// <summary>
 /// 编辑购物车项属性
 /// </summary>
 /// <param name="shopAttribute">商品属性对实体</param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <ShopCartUpdateResultDTO> UpdateShoppingAttribute(ShopAttributeCommodityUpdateDto shopAttribute)
 {
     base.Do(false);
     return(this.UpdateShoppingAttributeExt(shopAttribute));
 }
Exemplo n.º 2
0
        /// <summary>
        /// 编辑购物车项属性
        /// </summary>
        /// <param name="shopAttribute">商品属性对实体</param>
        /// <returns></returns>
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <ShopCartUpdateResultDTO> UpdateShoppingAttribute(ShopAttributeCommodityUpdateDto shopAttribute)
        {
            //定义返回值
            ResultDTO <ShopCartUpdateResultDTO> result;

            try
            {
                //调用代理方法
                result = base.Channel.UpdateShoppingAttribute(shopAttribute);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }