Zhiqim Admin(简版的管理台)是从知启蒙管理台分离出来,保留系统参数表、系统菜单表、操作员、操作日志,去除组织、部门、角色等复杂权限功能,仅保留操作员独立权限功能。系统设计时保留ZmrSessionUser和ZmrOperator类,方便以后升级到知启蒙管理台。
森中灵 最后提交于6月前 整理V8.0.6
ZmrConstants.java4KB
/*
* 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙,邂逅框架梦]
*
* https://zhiqim.org/project/zhiqim_components/zhiqim_admin.htm
*
* Zhiqim Admin is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PSL v2 for more details.
*/
package org.zhiqim.manager;
import org.zhiqim.httpd.context.ZmlContextConstants;
import org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.constants.ZhiqimConstants;
/**
* 知启蒙管理台常量定义
*
* @version v1.0.0 @author zhichenggang 2017-1-2 新建与整理
*/
@AnAlias("ZmrConstants")
public interface ZmrConstants extends ZmlContextConstants, ZhiqimConstants
{
public String ZMR_NAME = "zhiqim.manager";
public String ZMR_PATH = "zhiqim_manager";
public String ZMR_PASSWORDER_DEFAULT = "org.zhiqim.manager.ZmrPassworder";
public String ZMR_PASSWORD = "zhiqim@2015";
public String ZMR_PAGE_SIZE = "zmr_page_size";
public String ZMR_MENU_SQL = "zmr_menu_sql";
public String ZMR_PASSWORDER = "zhiqim.passworder";
public String ZMR_GROUP = "group";
/**********************************************************************************/
//参数表
/**********************************************************************************/
public String ZMR_THEME_INDEX = "themeIndex";
public String ZMR_THEME_MAIN = "themeMain";
public String ZMR_THEME_FRAME = "themeFrame";
public String ZMR_HAS_MANAGE_LOGIN = "hasManageLogin";
public String ZMR_HAS_VERIFICATION_CODE = "hasVerificationCode";
public String ZMR_HAS_REMEMBER_CODE = "hasRememberCode";
public String ZMR_HAS_REMEMBER_PASS = "hasRememberPass";
public String ZMR_CHK_CLOSE_SUPER_ADMIN = "chkCloseSuperAdmin";
public String ZMR_MAIN_URL = "mainUrl";
public String ZMR_REMAIN_LOG_DAY = "remainLogDay";
public String ZMR_CDN_PATH = "cdnPath";
public String ZMR_PUBLIC_KEY = "publicKey";
public String ZMR_PRIVATE_KEY = "privateKey";
public String ZMR_MAIN_URL_DEFAULT = "/${zhiqim_manager}/main.htm";
public String ZMR_MAIN_URL_WELCOME = "/${zhiqim_manager}/welcome.htm";
public String ZMR_TEMPLATE_MAIN = "/ztmpl/zhiqim_manager/main.htm";
public String ZMR_TEMPLATE_DIALOG = "/ztmpl/zhiqim_manager/dialog.htm";
/**********************************************************************************/
//事件常量
/**********************************************************************************/
public int ZMR_EVENT_LOGINED = 1001;//已登录
public int ZMR_EVENT_LOGOUTING = 1002;//正在退出
public int ZMR_EVENT_OPERATOR_DELETE_CHK = 1011;//删除操作员前检查
public int ZMR_EVENT_OPERATOR_DELETED = 1012;//已删除操作员
/**********************************************************************************/
//主题常量
/**********************************************************************************/
public String ZMR_THEME_00_DEFAULT = "00_default";
public String ZMR_THEME_01_CLASSIC = "01_classic";
public String ZMR_THEME_02_CONCISE = "02_concise";
public String ZMR_THEME_03_ELEGANT = "03_elegant";
public String ZMR_THEME_04_FRESH = "04_fresh";
public String ZMR_THEME_05_FLATWISE = "05_flatwise";
/**********************************************************************************/
//头像字段
/**********************************************************************************/
public String AVATAR_PREFIX = "/org/zhiqim/manager/avatar/";
public String IMAGE_DATA_PNG_BASE64 = "data:image/png;base64,";
}