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

Merge pull request !214 from 刘星/master
pull/214/MERGE
若依 2020-09-30 15:52:36 +08:00 committed by Gitee
commit a12b54dcbf
1 changed files with 25 additions and 12 deletions

View File

@ -81,6 +81,19 @@ 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;
}
/**
*
*