6c
2025-12-02 da1bdef4a8191e7efa08f6f680d23c1d0f91f76c
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
package com.product.integration.config;
 
import com.product.common.enums.IEnum;
 
/**
 * @Description: 集成返回码定义
 */
public enum IntegrationCode implements IEnum {
    OPERATION_SUCCESS("成功", "200"),
 
    SAVE_FAIL("保存失败", "001"),
    FIND_FAIL("查询失败", "002"),
    DELETE_FAIL("删除失败", "003"),
 
    SAVE_DEAL_RESPONSE_INFO("保存-处理响应数据结构失败", "010"),
    ;
    private String text;
    private String value;
 
    private IntegrationCode(String text, String value) {
        this.text = text;
        this.value = value;
    }
 
    public String getText() {
        return text;
    }
 
    public String getValue() {
        return value;
    }
 
    @Override
    public String toString() {
        return value + ": " + text;
    }
}