Beispiel #1
0
        public int GetCollectionComsCount(Jinher.AMP.BTP.Deploy.CustomDTO.SetCollectionSearchDTO search)
        {
            //定义返回值
            int result;

            try
            {
                //调用代理方法
                result = base.Channel.GetCollectionComsCount(search);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Beispiel #2
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO DeleteCollections(Jinher.AMP.BTP.Deploy.CustomDTO.SetCollectionSearchDTO search)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result;

            try
            {
                //调用代理方法
                result = base.Channel.DeleteCollections(search);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
 /// <summary>
 /// 根据用户ID查询收藏店铺数量
 /// <para>Service Url: http://devbtp.sv.iuoooo.com/Jinher.AMP.BTP.SV.SetCollectionSV.svc/GetCollectionAppsCount
 /// </para>
 /// </summary>
 /// <param name="search"></param>
 /// <returns></returns>
 public int GetCollectionAppsCount(Jinher.AMP.BTP.Deploy.CustomDTO.SetCollectionSearchDTO search)
 {
     base.Do();
     return(this.Command.GetCollectionAppsCount(search));
 }
 /// <summary>
 /// 根据用户ID查询收藏商品
 /// <para>Service Url: http://devbtp.sv.iuoooo.com/Jinher.AMP.BTP.SV.SetCollectionSV.svc/GetCollectionApps
 /// </para>
 /// </summary>
 /// <param name="search"></param>
 /// <returns></returns>
 public System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.AppSetAppDTO> GetCollectionApps(Jinher.AMP.BTP.Deploy.CustomDTO.SetCollectionSearchDTO search)
 {
     base.Do();
     return(this.Command.GetCollectionApps(search));
 }
 /// <summary>
 /// 删除正品会收藏
 /// <para>Service Url: http://devbtp.sv.iuoooo.com/Jinher.AMP.BTP.SV.SetCollectionSV.svc/DeleteCollections
 /// </para>
 /// </summary>
 /// <param name="search"></param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO DeleteCollections(Jinher.AMP.BTP.Deploy.CustomDTO.SetCollectionSearchDTO search)
 {
     base.Do();
     return(this.Command.DeleteCollections(search));
 }
Beispiel #6
0
        public System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.CommodityListCDTO> GetCollectionComs(Jinher.AMP.BTP.Deploy.CustomDTO.SetCollectionSearchDTO search)
        {
            //定义返回值
            System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.CommodityListCDTO> result;

            try
            {
                //调用代理方法
                result = base.Channel.GetCollectionComs(search);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Beispiel #7
0
 /// <summary>
 /// 根据用户ID查询收藏商品
 /// <para>Service Url: http://devbtp.sv.iuoooo.com/Jinher.AMP.BTP.SV.SetCollectionSV.svc/GetCollectionComs
 /// </para>
 /// </summary>
 /// <param name="search"></param>
 /// <returns></returns>
 public System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.CommodityListCDTO> GetCollectionComs(Jinher.AMP.BTP.Deploy.CustomDTO.SetCollectionSearchDTO search)
 {
     base.Do();
     return(this.GetCollectionComsExt(search));
 }