web socket
支付 会员
This commit is contained in:
@@ -11,7 +11,7 @@ public enum CodeEnum {
|
||||
FAIL_OLDPASS("1",false,"修改失败,旧密码错误","fail"),
|
||||
FAIL_NEWPASS("1",false,"新密码不能与旧密码相同","fail"),
|
||||
TOKEN_EXEIST("-4",false,"token不能为空","fail"),
|
||||
TOKEN_EXPIRED("-4",false,"账号已过期,请重新登陆","fail"),
|
||||
TOKEN_EXPIRED("-4",false,"请先登陆","fail"),
|
||||
SIGN_FAIL("100013",false,"签名不正确","fail"),
|
||||
|
||||
ORGAN_NO_EXEIST("100010",false,"机构代码不存在或状态异常,请联系服务商","fail"),
|
||||
|
||||
@@ -53,6 +53,18 @@ public class Result {
|
||||
|
||||
}
|
||||
|
||||
// public Result(String msg, Object data, String code, boolean encrypt, String icon) {
|
||||
// this.msg = msg;
|
||||
// this.code = code;
|
||||
// this.encrypt = encrypt;
|
||||
// this.icon = icon;
|
||||
// if(encrypt){
|
||||
// this.data= DESUtil.encode(JSONUtil.toJsonStr(data));
|
||||
// }else{
|
||||
// this.data=data;
|
||||
// }
|
||||
// }
|
||||
|
||||
public Result(CodeEnum enums) {
|
||||
this.msg = enums.getMsg();
|
||||
this.encrypt = enums.getEncrypt();
|
||||
|
||||
Reference in New Issue
Block a user