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
| package com.xmzs.common.wechat.utils.enums;
|
| public enum RetCodeEnum {
|
| NORMAL("0", "普通"),
| LOGIN_OUT("1102", "退出"),
| LOGIN_OTHERWHERE("1101", "其它地方登陆"),
| MOBILE_LOGIN_OUT("1102", "移动端退出"),
| UNKOWN("9999", "未知")
|
| ;
|
|
| private String code;
| private String type;
|
| RetCodeEnum(String code, String type) {
| this.code = code;
| this.type = type;
| }
|
| public String getCode() {
| return code;
| }
|
| public String getType() {
| return type;
| }
|
| }
|
|