private void ProcessTaobaoProductIdAdd(System.Web.HttpContext context) { int distributorId = int.Parse(context.Request["distributorUserId"]); int productId = int.Parse(context.Request["productId"]); long taobaoProductId = long.Parse(context.Request["taobaoProductId"]); bool flag = SubSiteProducthelper.AddTaobaoProductId(productId, taobaoProductId, distributorId); System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder(); stringBuilder.Append("{"); stringBuilder.AppendFormat("\"TaobaoProductIdAddResponse\":\"{0}\"", flag); stringBuilder.Append("}"); context.Response.Write(stringBuilder.ToString()); }