Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
895af10c67
@ -75,8 +75,9 @@ func (this *apiComp) Practice(session comm.IUserSession, req *pb.PracticePractic
|
||||
}
|
||||
if pillar.Isunlock != 2 { //柱子未解锁
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ReqParameterError,
|
||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||
Code: pb.ErrorCode_ReqParameterError,
|
||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||
Message: "pillar is no unlock",
|
||||
}
|
||||
return
|
||||
}
|
||||
@ -96,8 +97,9 @@ func (this *apiComp) Practice(session comm.IUserSession, req *pb.PracticePractic
|
||||
|
||||
if pillar.Usenum >= pillarconfigure.Limitation {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_PracticeUseLimit,
|
||||
Title: pb.ErrorCode_PracticeUseLimit.ToString(),
|
||||
Code: pb.ErrorCode_PracticeUseLimit,
|
||||
Title: pb.ErrorCode_PracticeUseLimit.ToString(),
|
||||
Message: "pillar usenum to Limitation",
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user