上传木桩错误信息
This commit is contained in:
parent
51ad46b312
commit
796d6c06d6
@ -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