上传工会会长信息
This commit is contained in:
parent
62068abdee
commit
92417c2442
@ -74,10 +74,10 @@ func (this *apiComp) Mine(session comm.IUserSession, req *pb.SociatyMineReq) (er
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
master := this.module.modelSociaty.getMasterInfo(sociaty)
|
||||
if sociaty.AccuseTime > 0 {
|
||||
// 获取会长
|
||||
master := this.module.modelSociaty.getMasterInfo(sociaty)
|
||||
|
||||
if master != nil {
|
||||
if master.Uid == session.GetUserId() { //自己是会长
|
||||
sociaty.AccuseTime = 0
|
||||
@ -99,7 +99,11 @@ func (this *apiComp) Mine(session comm.IUserSession, req *pb.SociatyMineReq) (er
|
||||
rsp.Master = master
|
||||
}
|
||||
}
|
||||
} else {
|
||||
rsp.Master = master
|
||||
}
|
||||
} else {
|
||||
rsp.Master = master
|
||||
}
|
||||
rsp.Sociaty = sociaty
|
||||
session.SendMsg(string(this.module.GetType()), SociatySubTypeMine, rsp)
|
||||
|
Loading…
Reference in New Issue
Block a user