AjaxResult重写put方法,以方便链式调用

feature/model
RuoYi 3 years ago
parent d3696f5223
commit 3dbbc6a223

@ -147,13 +147,15 @@ public class AjaxResult extends HashMap<String, Object>
}
/**
*
* 便
*
* @param key
* @param value
* @return
* @param value
* @return
*/
public AjaxResult put(String key, Object value) {
@Override
public AjaxResult put(String key, Object value)
{
super.put(key, value);
return this;
}

Loading…
Cancel
Save