package org.scy.common;

/**
 * 常量定义
 * Created by shicy on 2017/8/31.
 */
@SuppressWarnings("unused")
public final class Const {

    // 有效
    public final static short ENABLED = 1;

    // 无效
    public final static short DISABLED = 0;

    // 平台帐号
    public final static String PLATFORM_CODE = "1000000000000000";

    // 参数错误
    public final static short MSG_CODE_PARAMINVALID  = 1000;

    // 参数缺失
    public final static short MSG_CODE_PARAMMISSING = 1001;

    // 参数格式错误
    public final static short MSG_CODE_PARAMFORMATERROR = 1002;

    // 存在重复
    public final static short MSG_CODE_DUPLICATED = 1003;

    // 服务拒绝访问或连接失败
    public final static short MSG_CODE_SERVERREFUSED = 1010;

    // 当前帐户错误，不存在或密码错误
    public final static short MSG_CODE_ACCOUNTERROR = 1100;

    // 没有操作权限
    public final static short MSG_CODE_NOPERMISSION = 1101;

    // 验证码错误
    public final static short MSG_CODE_VALIDFAILED = 1102;

}

@@ -610,16 +610,156 @@
  1003;%0A%0A
+    // %E5%AF%B9%E8%B1%A1%E4%B8%8D%E5%AD%98%E5%9C%A8%0A    public final static short MSG_CODE_NOTEXIST = 1004;%0A%0A    // %E6%95%B0%E6%8D%AE%E4%B8%BA%E7%A9%BA%0A    public final static short MSG_CODE_DATAEMPTY = 1005;%0A%0A
     // %E6%9C%8D

添加错误编码：MSG_CODE_NOTEXIST, MSG_CODE_DATAEMPTY