public void ProcessRequest(HttpContext context)
        {
            string resultJSON = string.Empty;
            string result = string.Empty;

            try
            {
                string fullSiteName = context.Request["FullSiteName"].ToString().Trim();
                int appId = Convert.ToInt32(context.Request["AppId"]);

                string defaultDomain = DeveloperConfig.SystemDomain.Replace("www", fullSiteName);
                string customDomain = context.Request.Form["ADomain"].ToString().Trim();

                DeveloperInfo developerInfo = HttpContext.Current.Session["DeveloperInfo"] as DeveloperInfo;

                BLLApp bllApp = new BLLApp();
                result = bllApp.SiteBindSet(developerInfo, fullSiteName, appId, defaultDomain, customDomain);

                if (string.IsNullOrEmpty(result))
                {
                    resultJSON = Tools.ExecResultToJSON(true, "域名绑定配置成功!");
                }
                else
                {
                    resultJSON = Tools.ExecResultToJSON(false, result);
                }

                context.Response.Write(resultJSON);
            }
            catch (Exception ex)
            {
                Tools.LogWrite(ex.ToString());
                string errorMessage = Tools.ErrorMessageFilter(ex.Message);
                resultJSON = Tools.ExecResultToJSON(false, errorMessage);
                context.Response.Write(resultJSON);
            }
        }