/// <summary>
        /// 管理员登录
        /// </summary>
        /// <returns></returns>
        public Reseponse <string> ManagerLogin(T_ActivityManagerUserInfo_xhrRequest model)
        {
            var result = new Reseponse <string>();

            try
            {
                using (var client = new ActivityClient())
                {
                    var request = new Tuhu.Service.Activity.Models.T_ActivityManagerUserInfo_xhrModel()
                    {
                        Name      = model.Name,
                        PassWords = model.PassWords
                    };
                    var addresult = client.ManagerLoginAsync(request);
                    result.status  = addresult.Result.Success ? 1 : 0;
                    result.Message = addresult.Result.ErrorMessage;
                    if (addresult.Result.Result == "")
                    {
                        result.status  = 0;
                        result.Message = "用户名或密码不正确";
                    }
                    result.data = TuhuCryption.Encrypt(addresult.Result.Result);
                }
            }
            catch (Exception e)
            {
                Logger.Error($"ManagerLogin -> {JsonConvert.SerializeObject(model)}", e);
                throw;
            }
            return(result);
        }
        /// <summary>
        /// 根据地区查询活动
        /// </summary>
        /// <returns></returns>
        public Reseponse <List <T_ActivityUserInfo_xhrModel> > GetActivityUserInfoByAreaAsync(int AreaId, int pageIndex, int pageSize)
        {
            var result = new Reseponse <List <T_ActivityUserInfo_xhrModel> >();

            if (pageSize > 20)
            {
                result.status  = 0;
                result.Message = "请求数据过多!";
                return(result);
            }
            try
            {
                using (var client = new ActivityClient())
                {
                    var model = client.GetActivityUserInfoByAreaAsync(AreaId, pageIndex, pageSize).Result;
                    result.status  = model.Success ? 1 : 0;
                    result.Message = model.ErrorMessage;
                    result.data    = new List <T_ActivityUserInfo_xhrModel>();
                    if (model.Success && model.Result != null)
                    {
                        foreach (var item in model.Result)
                        {
                            result.data.Add(new T_ActivityUserInfo_xhrModel()
                            {
                                UserID     = TuhuCryption.Encrypt(item.UserId.ToString()),
                                UserName   = item.UserName,
                                UserTell   = item.UserTell.Trim(),
                                PassStatus = item.PassStatus,
                                AreaID     = item.AreaID,
                                ActID      = item.ActID,
                                Title      = item.ActTitle
                            });
                        }
                    }
                }
            }
            catch (Exception e)
            {
                Logger.Error($"GetActivityUserInfoByAreaAsync -> {AreaId}", e);
                throw;
            }
            return(result);
        }