Ejemplo n.º 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());
 }
Ejemplo n.º 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());
        }
Ejemplo n.º 3
0
 public ActionResult BottleDetail(long bottleId)
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Bottle_OpenDetail, bottleId.ToString());
     ViewBag.bottleId = bottleId;
     return(View());
 }
Ejemplo n.º 4
0
 public ActionResult Setting()
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Sys_OpenSetting);
     return(View());
 }
Ejemplo n.º 5
0
 public ActionResult ProfileInfoView(int userid = 0)
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Profile_FriendPage, userid.ToString());
     ViewBag.userid = userid;
     return(View());
 }
Ejemplo n.º 6
0
 public ActionResult ProfileInfo()
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Profile_SelfPage);
     return(View());
 }
Ejemplo n.º 7
0
 public ActionResult ThrowBottle()
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Bottle_OpenThrowPage);
     return(View());
 }
Ejemplo n.º 8
0
 public ActionResult MyBottle()
 {
     ServiceBiz.WriteRequestLog(UserInfo.ID, (int)EnumModel.LogType.Bottle_My);
     return(View());
 }