洪城义警-正式版后台
zengh
2021-08-13 ccc6e51f22bf0b2b0cebb84e32f55a5cebdb9692
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package org.springblade.modules.webscoket.service;
 
/**
 * @author 123456
 */
public interface IPushMsgService {
 
    /**
     * 给指定用户发送消息
     *
     * @param userId
     * @param msg
     */
    void pushMsg(String userId, String msg);
 
    /**
     * 给所有用户发送消息
     *
     * @param msg
     */
    void pushMsg(String msg);
 
    /**
     * 给指定用户发起视频邀请
     */
    int inviteVideoCall(String userid, String time, String type, String name,String faqiid);
 
    /**
     * 关闭视频请求
     *
     * @return
     */
    void closeVideoCall(String sentId, String acceptId);
 
}