Пример #1
0
 public ActionResult Index(int sourceFlag = -1, long userid = 0)
 {
     if (userid > 0)
     {
         UserInfo = new UserBiz().Query <ACT_User>(userid);
     }
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Sys_OpenIndex);
     ViewBag.sourceFlag = sourceFlag;
     return(View());
 }
Пример #2
0
        public ActionResult Index(int flag = 0)
        {
            //清除后台用户数据
            if (flag == 1 && UserInfo != null)
            {
                ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Sys_Quit);
            }

            UserInfo = null;
            ServiceBiz.WriteRequestLog(0, (int)EnumModel.LogType.Welcome_OpenPage);

            return(View());
        }
Пример #3
0
 public ActionResult BottleDetail(long bottleId)
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Bottle_OpenDetail, bottleId.ToString());
     ViewBag.bottleId = bottleId;
     return(View());
 }
Пример #4
0
 public ActionResult Setting()
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Sys_OpenSetting);
     return(View());
 }
Пример #5
0
 public ActionResult ProfileInfoView(int userid = 0)
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Profile_FriendPage, userid.ToString());
     ViewBag.userid = userid;
     return(View());
 }
Пример #6
0
 public ActionResult ProfileInfo()
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Profile_SelfPage);
     return(View());
 }
Пример #7
0
 public ActionResult ThrowBottle()
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Bottle_OpenThrowPage);
     return(View());
 }
Пример #8
0
 public ActionResult MyBottle()
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Bottle_My);
     return(View());
 }