上传工会会长信息
This commit is contained in:
parent
62068abdee
commit
92417c2442
@ -14,7 +14,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
//game_gamecolor = "game_gamecolor.json" //颜色表
|
//game_gamecolor = "game_gamecolor.json" //颜色表
|
||||||
game_playerlv = "game_playerlv.json" //玩家等级
|
game_playerlv = "game_playerlv.json" //玩家等级
|
||||||
//game_facemod = "game_facemod.json" //形象配置表
|
//game_facemod = "game_facemod.json" //形象配置表
|
||||||
game_drop = "game_drop.json" //掉落
|
game_drop = "game_drop.json" //掉落
|
||||||
new_hero = "game_hero.json"
|
new_hero = "game_hero.json"
|
||||||
// 签到
|
// 签到
|
||||||
|
@ -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 {
|
if sociaty.AccuseTime > 0 {
|
||||||
// 获取会长
|
// 获取会长
|
||||||
master := this.module.modelSociaty.getMasterInfo(sociaty)
|
|
||||||
if master != nil {
|
if master != nil {
|
||||||
if master.Uid == session.GetUserId() { //自己是会长
|
if master.Uid == session.GetUserId() { //自己是会长
|
||||||
sociaty.AccuseTime = 0
|
sociaty.AccuseTime = 0
|
||||||
@ -99,7 +99,11 @@ func (this *apiComp) Mine(session comm.IUserSession, req *pb.SociatyMineReq) (er
|
|||||||
rsp.Master = master
|
rsp.Master = master
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
rsp.Master = master
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
rsp.Master = master
|
||||||
}
|
}
|
||||||
rsp.Sociaty = sociaty
|
rsp.Sociaty = sociaty
|
||||||
session.SendMsg(string(this.module.GetType()), SociatySubTypeMine, rsp)
|
session.SendMsg(string(this.module.GetType()), SociatySubTypeMine, rsp)
|
||||||
|
Loading…
Reference in New Issue
Block a user