public ActionResult getpack(int id, string IntegralCode) { DAL.Log.Instance.Write("" + id + "||" + IntegralCode + "||" + CurrentUser.UserName + "||" + Request.UserHostAddress, "红包获取---"); string rtn = RedPackOrder.getRedPack(id, IntegralCode, CurrentUser.UserName, Request.UserHostAddress); return(Content(rtn)); }
public ActionResult getpack1(int id, string IntegralCode, string Phone) { string ip1 = GetWebClientIp(); CurrentUser.Mobile = Phone; CurrentUser.UpdateByID(); string rtn = RedPackOrder.getRedPack(id, IntegralCode, CurrentUser.UserName, Request.UserHostAddress); return(Content(rtn)); }
public ActionResult getSharepack(int id, string IntegralCode, string Phone) { string ip1 = GetWebClientIp(); if (CurrentUser.Mobile.Length > 0) { return(Content("fail|您已经参与过此活动!")); } CurrentUser.Mobile = Phone; CurrentUser.UpdateByID(); string rtn = RedPackOrder.getRedSharePack(id, IntegralCode, CurrentUser.UserName, Request.UserHostAddress); return(Content(rtn)); }