上传主线奖励代码
This commit is contained in:
parent
8040a59887
commit
336c757bba
@ -89,7 +89,9 @@ func (this *apiComp) ReceiveAward(session comm.IUserSession, req *pb.MainlineRec
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if award.Award == nil {
|
||||||
|
award.Award = make(map[int32]int32)
|
||||||
|
}
|
||||||
if pass, ok = award.Award[req.Stage]; ok && pass == 2 {
|
if pass, ok = award.Award[req.Stage]; ok && pass == 2 {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_MainlineRepeatReward,
|
Code: pb.ErrorCode_MainlineRepeatReward,
|
||||||
|
Loading…
Reference in New Issue
Block a user