/// <summary>
 /// 从本地中获取
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public object SetA3(object value)
 {
     if (!object.Equals(value, null))
     {
         return(LocalCacher.GetCache(value.ToString()));
     }
     return(null);
 }
        /// <summary>
        /// 构造基本请求
        /// </summary>
        /// <param name="apiType"></param>
        /// <returns></returns>
        public BaseRequest GetCommonBaseRequest(string apiType)
        {
            //这一步就实现了权限控制了
            string newuserName = LocalCacher.GetCache("ICITY_USERNAME");
            string newpassword = LocalCacher.GetCache("ICITY_PASSWORD");

            if (string.IsNullOrEmpty(newuserName) || string.IsNullOrEmpty(newpassword))
            {
                newuserName = _userName;
                newpassword = _password;
            }
            BaseRequest bj = new BaseRequest(newuserName, newpassword, apiType);

            return(bj);
        }