日期:2014-05-16 浏览次数:20453 次
success: function (data) {
if (data == "0")
$('#result').html("登录成功");
if (data == "-1")
$('#result').html("用户名密码错误");
},
if (context.Request["action"] == "log")
{
if (new bbs.business.userinfobll().getuserinfo(name, passwd).Rows.Count > 0)
{
context.Response.Write("0");
}
else
{
context.Response.Write("-1");
}
}
context.Response.Clear();
context.Response.Write("1");
context.Response.Flush();