Commit 509be1e3 by zhangdaiscott

Result OK(String msg)方法会造成兼容性问题 issues/I4IP3D issues/3195

parent 80601e0c
......@@ -108,6 +108,8 @@ public class Result<T> implements Serializable {
r.setSuccess(true);
r.setCode(CommonConstant.SC_OK_200);
r.setMessage(msg);
//Result OK(String msg)方法会造成兼容性问题 issues/I4IP3D
r.setResult((T) msg);
return r;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment