コード例 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        localUserID.Value     = base.LogInfo.UserInfo.ID;
        lbWecomeUserName.Text = base.LogInfo.UserInfo.REAL_NAME;

        TSysConfigVo objSysConfigVo = new TSysConfigVo();

        objSysConfigVo.CONFIG_CODE = "CopyRight";
        objSysConfigVo             = new TSysConfigLogic().Details(objSysConfigVo);
        copyright = objSysConfigVo.REMARK;

        //定义结果
        string strResult = "";

        //获取属性类别
        if (Request["type"] != null && Request["type"].ToString() == "getMenu")
        {
            if (Request["localUserID"] == null)
            {
                return;
            }

            strResult = getMenu(Request["localUserID"].ToString());
            Response.Write(strResult);
            Response.End();
        }
    }
コード例 #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        TSysConfigVo objSysConfigVo = new TSysConfigVo();

        objSysConfigVo.CONFIG_CODE = "CopyRight";
        objSysConfigVo             = new TSysConfigLogic().Details(objSysConfigVo);
        copyright = objSysConfigVo.REMARK;
        //BuildMainTopMemu();

        LoadDivModle();
    }
コード例 #3
0
    /// <summary>
    /// 是否开始页面权限(系统变量中的系统开关量的"页面权限开关")
    /// </summary>
    /// <returns></returns>
    protected static bool IsOpenPagePermissions()
    {
        TSysConfigVo objSysConfigVo = new TSysConfigVo();

        objSysConfigVo.CONFIG_CODE = "PagePermissions";
        objSysConfigVo             = new TSysConfigLogic().Details(objSysConfigVo);
        if (objSysConfigVo.CONFIG_VALUE != "1")
        {
            return(false);
        }
        return(true);
    }
コード例 #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        TSysConfigVo objSysConfigVo = new TSysConfigVo();

        objSysConfigVo.CONFIG_CODE = "CopyRight";
        objSysConfigVo             = new TSysConfigLogic().Details(objSysConfigVo);
        copyright = objSysConfigVo.REMARK;
        if (Request.QueryString["logout"] != null)
        {
            base.WriteLog(i3.ValueObject.ObjectBase.LogType.LogOut, LogInfo.UserInfo.ID, LogInfo.UserInfo.USER_NAME + "登出系统成功!");
            if (LogInfo.UserInfo.ID != "")
            {
                new i3.BusinessLogic.Sys.General.TSysUserStatusLogic().Delete(LogInfo.UserInfo.ID);
            }
            Session.Remove(KEY_CACHEOPERATOR);
        }
    }