public ActionResult Feedback() { if (!string.IsNullOrEmpty(Request["feedback"])) { UserInfo user = (UserInfo)Session["LoginUser"]; JavaDLL dll = new JavaDLL(); if (user != null) { dll.addFeedback("" + Request["feedback"], "" + Request["contact"], "PC_" + user.UserName); } else { dll.addFeedback("" + Request["feedback"], "" + Request["contact"], "PC_游客"); } } return(Feedback("true")); }
public bool Feedback(string suggest, string contact, string device) { JavaDLL bll = new JavaDLL(); return(bll.addFeedback(suggest, contact, device)); }