好友写错返回
This commit is contained in:
parent
61daf826cc
commit
e9d658a441
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user