Blame view

java110-utils/src/main/java/com/java110/utils/constant/ResponseConstant.java 1.17 KB
88e030b7   王彪总   init project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
  package com.java110.utils.constant;
  
  /**
   * Created by wuxw on 2016/12/28.
   */
  public final class ResponseConstant {
  
      private ResponseConstant() {
  
      }
  
  
      /**
       * 结果返回成功
       */
      public static final String RESULT_CODE_SUCCESS = "0000";
  
      /**
       * 失败,通用失败编码
       */
      public static final String RESULT_CODE_ERROR = "1999";
  
      /**
       * 失败,通用失败编码
       */
      public static final String RESULT_CODE_INNER_ERROR = "1998";
  
      /**
       * 失败,通用失败编码
       */
      public static final String RESULT_CODE_TIME_OUT_ERROR = "1997";
  
      /**
       * 失败,入参错误,为空或格式错误
       */
      public static final String RESULT_CODE_NO_AUTHORITY_ERROR = "1996";
  
      public static final String RESULT_CODE_RULE_ERROR = "1995";
      /**
       * 系统配置错误
       */
      public static final String RESULT_CODE_CONFIG_ERROR = "1993";
  
      /**
       * 参数不正确
       */
      public static final String RESULT_PARAM_ERROR = "1994";
  
      /**
       * 没有从报文中获取到 请求流水
       */
      public static final String NO_TRANSACTION_ID = "-1";
      public static final String NO_NEED_SIGN = "";
  }