Zhiqim Account(前端账户管理台)是在ZhiqimManager基础上改造成用于前端注册登录的管理系统,增加组织结构和余额,开放注册组织和组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构

森中灵 最后提交于8月前 整理为组织方式和替换新的jar
ZmrConstants.java6KB
/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙,邂逅框架梦]
 * 
 * https://zhiqim.org/project/zhiqim_components/zhiqim_account.htm
 *
 * Zhiqim Account 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;
import org.zhiqim.kernel.model.objects.Int;

/**
 * 知启蒙管理台常量定义
 *
 * @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_HAS_AUTO_LOGIN           = "hasAutoLogin";
    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_OPERATOR_DEPT_ALL_RULE   = "operatorDeptAllRule";
    public String ZMR_PUBLIC_KEY               = "publicKey";
    public String ZMR_PRIVATE_KEY              = "privateKey";
    public String ZMR_DEFAULT_VIP              = "defaultVip";
    
    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 String G_SMS_NAME                    = "zhiqim.sms";
    public String P_SMS_URL                     = "url";
    public String P_SMS_ACCOUNT_ID              = "accountId";
    public String P_SMS_ACCOUNT_SECRET          = "accountSecret";
    public String P_SMS_SIGNATURE               = "signature";
    public String P_SMS_VCODE_MINUTE            = "vcodeMinute";
    public String P_SMS_VCODE_MSG               = "vcodeMsg";
    public String P_SMS_SUCCESS_MSG             = "successMsg";
    
    /**********************************************************************************/
    //事件常量
    /**********************************************************************************/
    
    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 long ROOT_ORG_ID                     = _ID_13_;
    public String SYSTEM_OPERATOR_CODE          = "system";
    
    /**********************************************************************************/
    //通行证常量
    /**********************************************************************************/
    
    public String ZMR_REG_USER_ACCOUNT          = "zmr_reg_user_account";
    public Int ZMR_VCODE_TYPE_REGISTER          = new Int(0, "注册");
    public Int ZMR_VCODE_TYPE_FORGET            = new Int(1, "忘记密码");
    public Int ZMR_VCODE_TYPE_MODIFY            = new Int(2, "修改手机号");
    
    /**********************************************************************************/
    //头像字段
    /**********************************************************************************/
    
    public String AVATAR_PREFIX                 = "/org/zhiqim/manager/avatar/";
    public String IMAGE_DATA_PNG_BASE64         = "data:image/png;base64,"; 
}