918博天堂

Server : Microsoft-IIS/10.0
System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586
User : jxgj ( 0)
PHP Version : 7.0.33
Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server
Directory :  D:/tmp_aspnet/root/dc15253c/377bd30d/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : D:/tmp_aspnet/root/dc15253c/377bd30d/App_Web_7dsc66iy.5.cs
?#pragma checksum "D:\wwwroot\jmxbaogao\wwwroot\Counter\NewCommentsInfo.ashx" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "EDAEDBEEAB58A4967C3576B1006C4A73"

#line 1 "D:\wwwroot\jmxbaogao\wwwroot\Counter\NewCommentsInfo.ashx"


/****************************************
 * 版权所有:南昌金启软件有限公司
 * 网    址:www.21it.com
 ****************************************/
using System.Web;
using Com.Huji.DataBll;
using Com.Huji.DataModel;
using Com.Huji.DataTools;
using Com.Huji.Web.Pager;

namespace Com.Huji.Web.Counter
{
    public class NewCommentsInfo : BaseHandler
    {
        public override void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            if (!ProcessRequestError()) return;
            NewCommentsData data = new NewCommentsData();
            data.LanguageId = Converts.ToInt32(context.Request.QueryString["language_id"]);
            data.ArticleId = Converts.ToInt32(context.Request.QueryString["id"]);
            data.CommentsName = context.Request.QueryString["name"];
            data.CommentsContent = context.Request.QueryString["content"];
            data.Status = Converts.ToInt32(context.Request.QueryString["status"]);
            int returnvalue = new NewCommentsBll().UpdateNewComments(data, 0);
            switch (returnvalue)
            {
                case -1: Converts.ResponseWriteEnd(context, "error"); break;
                default: Converts.ResponseWriteEnd(context, "ok"); break;
            }
        }
    }
}

#line default
#line hidden