上传公会问题

This commit is contained in:
liwei1dao 2023-10-08 18:40:17 +08:00
parent 0692d9d7e2
commit c68c0c9730

View File

@ -61,7 +61,7 @@ func (this *apiComp) Refuse(session comm.IUserSession, req *pb.SociatyRefuseReq)
}
// 已是公会成员
if this.module.modelSociaty.isMember(uid, sociaty) {
if this.module.modelSociaty.isMember(req.Uid, sociaty) {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_SociatyAdded,
Title: pb.ErrorCode_SociatyAdded.ToString(),