上传木桩错误信息
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 { //柱子未解锁
|
if pillar.Isunlock != 2 { //柱子未解锁
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_ReqParameterError,
|
Code: pb.ErrorCode_ReqParameterError,
|
||||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||||
|
Message: "pillar is no unlock",
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -96,8 +97,9 @@ func (this *apiComp) Practice(session comm.IUserSession, req *pb.PracticePractic
|
|||||||
|
|
||||||
if pillar.Usenum >= pillarconfigure.Limitation {
|
if pillar.Usenum >= pillarconfigure.Limitation {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_PracticeUseLimit,
|
Code: pb.ErrorCode_PracticeUseLimit,
|
||||||
Title: pb.ErrorCode_PracticeUseLimit.ToString(),
|
Title: pb.ErrorCode_PracticeUseLimit.ToString(),
|
||||||
|
Message: "pillar usenum to Limitation",
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user