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

pull/29/head
RuoYi 4 years ago
parent cdc813c453
commit 594329127f

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

Loading…
Cancel
Save