Explorar o código

操作成功统一code为0

gaodm %!s(int64=6) %!d(string=hai) anos
pai
achega
6328fa443b

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

@@ -9,7 +9,7 @@ package com.diagbot.exception;
  */
 public enum CommonErrorCode implements ErrorCode {
 
-    OK("00000000", "操作成功"),
+    OK("0", "操作成功"),
     FAIL("00000001", "操作失败"),
     RPC_ERROR("00000002", "远程调度失败"),
     PARAM_ERROR("00029999", "%s"), //参数错误