mirror of https://github.com/jeecgboot/jeecg-boot
Result OK(String msg)方法会造成兼容性问题 issues/I4IP3D issues/3195
parent
80601e0ccd
commit
509be1e382
|
@ -108,6 +108,8 @@ public class Result<T> implements Serializable {
|
||||||
r.setSuccess(true);
|
r.setSuccess(true);
|
||||||
r.setCode(CommonConstant.SC_OK_200);
|
r.setCode(CommonConstant.SC_OK_200);
|
||||||
r.setMessage(msg);
|
r.setMessage(msg);
|
||||||
|
//Result OK(String msg)方法会造成兼容性问题 issues/I4IP3D
|
||||||
|
r.setResult((T) msg);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue