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
| package com.xcong.excoin.common.response;
|
| /**
| * 状态码
| * @author wzy
| */
| public enum ResultCode {
| /**
| * 成功
| */
| SUCCESS("1", "成功"),
|
| /**
| * 失败
| */
| FAIL("0", "失败");
|
|
| private String code;
| private String message;
|
| ResultCode(String code, String message) {
| this.code = code;
| this.message = message;
| }
|
| public String code() {
| return this.code;
| }
|
| public String message() {
| return this.message;
| }
| }
|
|