Sfoglia il codice sorgente

加入【已存在】通用错误

gaodm 6 anni fa
parent
commit
c114cf0185

+ 2 - 1
common/src/main/java/com/diagbot/exception/CommonErrorCode.java

@@ -20,7 +20,8 @@ public enum CommonErrorCode implements ErrorCode {
     PARAM_IS_ERROR("00020005", "传入的参数为错误!"),
     STATUS_IS_ERROR("00020006", "参数状态错误!"),
     SERVER_IS_ERROR("00020007", "各自业务错误!"),
-    NO_PERMISSION("00020008", "无权访问!");
+    NO_PERMISSION("00020008", "无权访问!"),
+    IS_EXISTS("00020009", "已存在!");
 
     private String code;
     private String msg;