Exemplo n.º 1
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO SaveDeliveryAddress(Jinher.AMP.BTP.Deploy.CustomDTO.AddressSDTO addressDTO)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result;

            try
            {
                //调用代理方法
                result = base.Channel.SaveDeliveryAddress(addressDTO);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 编辑收货地址
 /// <para>Service Url: http://devbtp.sv.iuoooo.com/Jinher.AMP.BTP.SV.DeliveryAddressSV.svc/UpdateDeliveryAddress
 /// </para>
 /// </summary>
 /// <param name="addressDTO">地址实体</param>
 /// <param name="appId">appId</param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO UpdateDeliveryAddress(Jinher.AMP.BTP.Deploy.CustomDTO.AddressSDTO addressDTO, System.Guid appId)
 {
     base.Do();
     return(this.Command.UpdateDeliveryAddress(addressDTO, appId));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 添加收货地址
 /// <para>Service Url: http://devbtp.sv.iuoooo.com/Jinher.AMP.BTP.SV.DeliveryAddressSV.svc/GetAllCommodityOrder
 /// </para>
 /// </summary>
 /// <param name="addressDTO">地址实体</param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO SaveDeliveryAddress(Jinher.AMP.BTP.Deploy.CustomDTO.AddressSDTO addressDTO)
 {
     base.Do();
     return(this.Command.SaveDeliveryAddress(addressDTO));
 }
Exemplo n.º 4
0
 /// <summary>
 /// 保存(添加或修改)收货地址
 /// <para>Service Url: http://devbtp.sv.iuoooo.com/Jinher.AMP.BTP.SV.DeliveryAddressSV.svc/SaveDeliveryAddressNew
 /// </para>
 /// </summary>
 /// <param name="addressDTO">地址实体</param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO SaveDeliveryAddressNew(Jinher.AMP.BTP.Deploy.CustomDTO.AddressSDTO addressDTO)
 {
     base.Do(false);
     return(this.SaveDeliveryAddressNewExt(addressDTO));
 }