init
This commit is contained in:
@@ -53,8 +53,8 @@ public class WsRMsgGen {
|
||||
|
||||
public static WsR hangup(String message, Long roomId, Integer hangUpType) {
|
||||
Map<String,Object> map = new HashMap<>();
|
||||
map.put("roomid","roomId");
|
||||
map.put("type","hangUpType");
|
||||
map.put("roomid",roomId);
|
||||
map.put("type",hangUpType);
|
||||
WsR<Map<String, Object>> ok = WsR.ok(map);
|
||||
ok.setMethod("hangup");
|
||||
ok.setMsg(message);
|
||||
|
||||
Reference in New Issue
Block a user