|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 返回成功消息
|
|
|
|
|