Commit 42f75d67 by Shadow

WecloudImMessage增加add方法,支持链式调用

parent bf105969
...@@ -11,4 +11,18 @@ import java.util.HashMap; ...@@ -11,4 +11,18 @@ import java.util.HashMap;
public class WecloudImMessage extends HashMap<String, Object> { public class WecloudImMessage extends HashMap<String, Object> {
/**
* 添加
* @Author Shadow
* @Date 2022年05月26日 02:57:05
* @param key
* @param value
* @Return
*/
public WecloudImMessage add(String key, Object value) {
this.put(key, value);
return this;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment