web socket

支付
会员
This commit is contained in:
2024-05-30 09:21:35 +08:00
parent a59377e20d
commit fc962e62b7
15 changed files with 308 additions and 207 deletions

View File

@@ -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"),

View File

@@ -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();