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

2.X
RuoYi 4 years ago committed by 疯狂的狮子li
parent 364a17fc9d
commit 3b2c8596e4

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

Loading…
Cancel
Save