84 lines
1.6 KiB
Java
84 lines
1.6 KiB
Java
package com.mesasoft.cn.modules.constant;
|
|
|
|
|
|
import com.zhazhapan.modules.constant.ValueConsts;
|
|
|
|
/**
|
|
* @author pantao
|
|
* @since 2018/1/19
|
|
*/
|
|
public class DefaultValues {
|
|
|
|
/**
|
|
* 未分类
|
|
*/
|
|
public static final String UNCATEGORIZED = "未分类";
|
|
|
|
/**
|
|
* 404页面路径
|
|
*/
|
|
public static final String NOT_FOUND_PAGE = "/404.html";
|
|
|
|
/**
|
|
* Controller包路径
|
|
*/
|
|
public static final String CONTROLLER_PACKAGE = "com.mesasoft.cn.web.controller";
|
|
|
|
/**
|
|
* 配置文件路径
|
|
*/
|
|
public static final String SETTING_PATH = "/config.json";
|
|
|
|
/**
|
|
* 冒号
|
|
*/
|
|
public static final String COLON = ":";
|
|
|
|
/**
|
|
* 默认存储路径
|
|
*/
|
|
public static final String STORAGE_PATH = ValueConsts.USER_HOME + ValueConsts.SEPARATOR + "Desktop" + ValueConsts
|
|
.SEPARATOR;
|
|
|
|
/**
|
|
* 首页映射路径
|
|
*/
|
|
public static final String INDEX_PAGE = "/index";
|
|
|
|
/**
|
|
* 配置映射的路径
|
|
*/
|
|
public static final String CONFIG_PAGE = "/config";
|
|
|
|
/**
|
|
* 资源映射的路径
|
|
*/
|
|
public static final String ASSETS_PAGE = "/assets";
|
|
|
|
/**
|
|
* 登陆注册页面映射路径
|
|
*/
|
|
public static final String SIGNIN_PAGE = "/signin";
|
|
|
|
/**
|
|
* 管理员页面映射路径
|
|
*/
|
|
public static final String ADMIN_PAGE = "/admin";
|
|
|
|
/**
|
|
* int型数值3
|
|
*/
|
|
public static final int THREE_INT = 3;
|
|
/**
|
|
* int型数值2
|
|
*/
|
|
public static final int TWO_INT = 2;
|
|
|
|
/**
|
|
* code字符
|
|
*/
|
|
public static final String CODE_STRING = "code";
|
|
|
|
private DefaultValues() {}
|
|
}
|