好友写错返回

This commit is contained in:
meixiongfeng 2023-02-17 19:23:48 +08:00
parent 61daf826cc
commit e9d658a441

View File

@ -23,7 +23,7 @@ func (this *apiComp) Stop(session comm.IUserSession, req *pb.FriendStopReq) (cod
resp := &pb.FriendStopResp{
IsSucc: true,
}
if err := session.SendMsg(string(this.moduleFriend.GetType()), FriendSubTypeQiecuo, resp); err != nil {
if err := session.SendMsg(string(this.moduleFriend.GetType()), "stop", resp); err != nil {
code = pb.ErrorCode_SystemError
return
}