///// <summary> ///// 找到密码 ///// </summary> ///// <returns></returns> //public ActionResult FoundPwd() //{ // string _key = QueryString.SafeQ("k"); // if (System.Web.HttpContext.Current.Session[CommonKey.FindPwdID] != null) // { // int _memid = Convert.ToInt32(System.Web.HttpContext.Current.Session[CommonKey.FindPwdID]); // if (_memid > 0) // { // MemberEntity _entity = MemberBLL.Instance.GetMember(_memid); // if (_entity.TimeStampTab == _key) // { // return View(); // } // return RedirectToAction("FindPwd"); // } // } // return RedirectToAction("FindPwd"); //} #endregion #region 浏览记录登记 public string MsgProductClickAdd() { int _pdId = FormString.IntSafeQ("pdid"); if (_pdId > 0) { int _sysId = FormString.IntSafeQ("sysid"); string _ip = IPAddress.IP; int memid = 0; MemberLoginEntity member = CookieBLL.GetLoginCookie(); if (member != null) { memid = member.MemId; string cookievalue = CookieBLL.GetMemBrowseLogCookie(); if (string.IsNullOrEmpty(cookievalue)) { MemBrowseLogEntity brouselog = new MemBrowseLogEntity(); brouselog.MemId = memid; brouselog.ProductDetailId = _pdId; brouselog.SystemId = _sysId; MemBrowseLogBLL.Instance.AddMemBrowseLog(brouselog); } else { CookieBLL.AddMemBrowseLogCookie(_pdId); cookievalue = CookieBLL.GetMemBrowseLogCookie(); MemBrowseLogBLL.Instance.AddMemBrowseLogStr(cookievalue, memid, _sysId); CookieBLL.ClearBrowseLogCookie(); } } else { CookieBLL.AddMemBrowseLogCookie(_pdId); } MemProductClickEntity entity = new MemProductClickEntity(); entity.MemId = memid; entity.ProductDetailId = _pdId; entity.ClickIp = _ip; entity.SystemId = _sysId; MemProductClickBLL.Instance.AddMemProductClick(entity); } return(""); }