瀏覽代碼

update push

master
DengBiao 1 年之前
父節點
當前提交
3afb57a435
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      internal/logic/api/logic_ext.go

+ 4
- 0
internal/logic/api/logic_ext.go 查看文件

@@ -2,6 +2,7 @@ package api

import (
"context"
"gim/internal/business/comm/utils"
"gim/internal/logic/app"
"gim/pkg/grpclib"
"gim/pkg/pb"
@@ -36,6 +37,9 @@ func (*LogicExtServer) SendMessage(ctx context.Context, in *pb.SendMessageReq) (
SenderId: userId,
DeviceId: deviceId,
}
utils.FilePutContents("sendMessage", utils.SerializeStr(map[string]interface{}{
"data": sender,
}))
seq, err := app.MessageApp.SendMessage(ctx, &sender, in)
if err != nil {
return nil, err


Loading…
取消
儲存