上传用户会话消息谁送接口
This commit is contained in:
parent
4a367661e7
commit
96daa17ae6
@ -149,7 +149,8 @@ func (this *UserSession) Polls() []*pb.UserMessage {
|
||||
func (this *UserSession) Push() (err error) {
|
||||
reply := &pb.RPCMessageReply{}
|
||||
if _, err = this.service.RpcGo(context.Background(), fmt.Sprintf("%s/%s", Service_Gateway, this.GatewayServiceId), string(Rpc_GatewayAgentSendMsg), &pb.AgentSendMessageReq{
|
||||
Reply: this.msgqueue,
|
||||
UserSessionId: this.SessionId,
|
||||
Reply: this.msgqueue,
|
||||
}, reply); err != nil {
|
||||
log.Errorf("SendMsgToUsers:%v err:%v", this, err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user