6c
2025-12-01 9b7342166833d65c6da42bc502954b70e64fa7be
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
package com.product.integration.config;
 
import com.product.common.enums.IEnum;
import com.product.common.enums.ModuleEnum;
 
/**
 * @Description: 集成返回码定义
 */
public enum IntegrationCode implements IEnum {
    OPERATION_SUCCESS("成功", "200"),
    ;
    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;
    }
}