package com.thinkgem.jeesite.common.constant;

import java.text.SimpleDateFormat;

/**
 * 常量数据
 */
public class ComCode {
    /**
     * 加密串
     */
    public static final String signCode = "Y0UKA@2018";
    /**
     * 时间相关参数
     */
    public static final long mills = 1000;
    public static final long seconds = 60;
    public static final long minutes = 60;
    public static final long hours = 24;
    public static final SimpleDateFormat YYYYMMDD_HHMMSS = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
    /**
     * 系统公共
     */
    public static final String STATUS_CODE_2000 = "2000";
    public static final String STATUS_CODE_2000_DESC = "成功";
    public static final String STATUS_CODE_9999 = "9999";
    public static final String STATUS_CODE_9999_DESC = "验证SIGN失败";
    public static final String STATUS_CODE_9998 = "9998";
    public static final String STATUS_CODE_9998_DESC = "通用异常";

    /**
     * 验证码
     */
    public static final String STATUS_CODE_3001 = "3001";
    public static final String STATUS_CODE_3001_DESC = "验证码未输入功能代码或手机号";

    /**
     * 用户相关
     */
    public static final String STATUS_CODE_4001 = "4001";
    public static final String STATUS_CODE_4001_DESC = "必传信息为空";
    public static final String STATUS_CODE_4002 = "4002";
    public static final String STATUS_CODE_4002_DESC = "用户名或密码错误";
    public static final String STATUS_CODE_4003 = "4003";
    public static final String STATUS_CODE_4003_DESC = "用户名或验证码错误";
    public static final String STATUS_CODE_4004 = "4004";
    public static final String STATUS_CODE_4004_DESC = "该手机号尚未注册，请注册后登录";
    public static final String STATUS_CODE_4005 = "4005";
    public static final String STATUS_CODE_4005_DESC = "修改密码失败";
    public static final String STATUS_CODE_4006 = "4006";
    public static final String STATUS_CODE_4006_DESC = "系统中没有该推荐用户";
    public static final String STATUS_CODE_4007 = "4007";
    public static final String STATUS_CODE_4007_DESC = "注册手机号已存在";
    public static final String STATUS_CODE_4008 = "4008";
    public static final String STATUS_CODE_4008_DESC = "注册手机号与推荐手机号重复";
    public static final String STATUS_CODE_4009 = "4009";
    public static final String STATUS_CODE_4009_DESC = "验证码已过期";
    public static final String STATUS_CODE_4010 = "4010";
    public static final String STATUS_CODE_4010_DESC = "验证码场景错误";
}
