public async Task <IEnumerable <WxConfig> > SelectWxConfigsAsync()
        {
            try
            {
                using (var client = new Tuhu.Service.Push.WeiXinPushClient())
                {
                    var result = await client.SelectWxConfigsAsync();

                    if (result.Success)
                    {
                        return(result.Result?.Where(_ => _.platform > 1).ToList() ?? new List <WxConfig>());
                    }
                    else
                    {
                        return(new List <WxConfig>());
                    }
                }
            }
            catch (Exception ex)
            {
                var exception = new DownloadAppException(1, "SelectWxConfigsAsync", ex);
                Logger.Log(Level.Error, exception, "SelectWxConfigsAsync");
                return(new List <WxConfig>());
            }
        }
        public static async Task <IEnumerable <WxConfig> > SelectAllWxAppConfigAsync()
        {
            using (var client = new Tuhu.Service.Push.WeiXinPushClient())
            {
                var result = await client.SelectWxConfigsAsync();

                result.ThrowIfException(true);
                var datas = result.Result;
                return(datas?.ToList());
                //return datas?.Where(x => x.Type == "WX_APP");
            }
        }