Exemple #1
0
 //保存
 protected void btnSubmit_Click(object sender, EventArgs e)
 {
     ChkAdminLevel("plugin_feedbackplus", DTEnums.ActionEnum.Reply.ToString()); //检查权限
     BLL.feedbackplus bll = new BLL.feedbackplus();
     model = bll.GetModel(this.id);
     model.reply_content = Utils.ToHtml(txtReContent.Text);
     model.reply_time    = DateTime.Now;
     bll.Update(model);
     AddAdminLog(DTEnums.ActionEnum.Reply.ToString(), "回复留言插件内容:" + model.title); //记录日志
     JscriptMsg("留言回复成功!", "index.aspx");
 }