Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
7883892d60
@ -14,7 +14,7 @@ import (
|
||||
const (
|
||||
//game_gamecolor = "game_gamecolor.json" //颜色表
|
||||
game_playerlv = "game_playerlv.json" //玩家等级
|
||||
//game_facemod = "game_facemod.json" //形象配置表
|
||||
//game_facemod = "game_facemod.json" //形象配置表
|
||||
game_drop = "game_drop.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 {
|
||||
// 获取会长
|
||||
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