/// <summary>
 /// 获取二维码列表
 /// </summary>
 /// <param name="search"></param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeShowDTO> > GetWechatQrCodeList(Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeSearchDTO search)
 {
     base.Do();
     return(this.Command.GetWechatQrCodeList(search));
 }
 /// <summary>
 /// 获取二维码类型
 /// </summary>
 /// <param name="search"></param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.QrTypeDTO> > GetQrCodeTypeList(Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeSearchDTO search)
 {
     base.Do();
     return(this.Command.GetQrCodeTypeList(search));
 }
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.QrTypeDTO> > GetQrCodeTypeList(Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeSearchDTO search)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.QrTypeDTO> > result;

            try
            {
                //调用代理方法
                result = base.Channel.GetQrCodeTypeList(search);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Exemple #4
0
        /// <summary>
        /// 获取二维码列表
        /// </summary>
        /// <param name="search"></param>
        /// <returns></returns>
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeShowDTO> > GetWechatQrCodeList(Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeSearchDTO search)
        {
            base.Do();
            Stopwatch timer = new Stopwatch();

            timer.Start();
            var result = this.GetWechatQrCodeListExt(search);

            timer.Stop();
            LogHelper.Debug(string.Format("WeChatQRCodeBP.GetWechatQrCodeList:耗时:{0}。入参:search:{1},\r\n出参:{2}", timer.ElapsedMilliseconds, JsonHelper.JsSerializer(search), JsonHelper.JsonSerializer(result)));
            return(result);
        }
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeShowDTO> > GetWechatQrCodeList(Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeSearchDTO search)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.WeChatQRCodeShowDTO> > result;

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