update ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java.

AjaxResult链式调用
duhanyu
abbfun 3 years ago committed by Gitee
parent c2a179e9dd
commit 2d7d137abd

@ -145,4 +145,16 @@ public class AjaxResult extends HashMap<String, Object>
{ {
return new AjaxResult(code, msg, null); return new AjaxResult(code, msg, null);
} }
/**
*
*
* @param key
* @param value
* @return
*/
public AjaxResult put(String key, Object value) {
super.put(key, value);
return this;
}
} }

Loading…
Cancel
Save