Commit 2e22880e92f33a91e3aee11e52a310bbb79944ec
1 parent
e955a233
Result OK(String msg)方法会造成兼容性问题 issues/I4IP3D issues/3195
Showing
1 changed file
with
2 additions
and
0 deletions
jeecg-boot/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/vo/Result.java
... | ... | @@ -108,6 +108,8 @@ public class Result<T> implements Serializable { |
108 | 108 | r.setSuccess(true); |
109 | 109 | r.setCode(CommonConstant.SC_OK_200); |
110 | 110 | r.setMessage(msg); |
111 | + //Result OK(String msg)方法会造成兼容性问题 issues/I4IP3D | |
112 | + r.setResult((T) msg); | |
111 | 113 | return r; |
112 | 114 | } |
113 | 115 | |
... | ... |