public ActionResult UseCard(int id, FormCollection f) { int userID = UserID; bizBBSMain b = new bizBBSMain(); string result = b.UseCard(userID, id, f["cardName"].Trim()); if (f["cardName"] == "jilu") { if (result.Trim() != "") return Content(result); bizBBSMainLog muc = new bizBBSMainLog(); List<BBSMainLogDetail> list = muc.List(id); string str = ""; if (list != null && list.Count > 0) { foreach (BBSMainLogDetail item in list) { str = item.Remark + " �û���" + item.UserName + " ʱ�䣺" + item.AddTime + "\r\n" + str; } } else str = "û���˶Ը���ʹ�ù���Ƭ"; return Content(str); } else return Content(result); }