update
This commit is contained in:
parent
f56be5e9d3
commit
d223ccb513
@ -90,7 +90,6 @@ func (this *apiComp) TalentLearn(session comm.IUserSession, req *pb.HeroTalentLe
|
|||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_HeroNoExist,
|
Code: pb.ErrorCode_HeroNoExist,
|
||||||
Title: pb.ErrorCode_HeroNoExist.ToString(),
|
Title: pb.ErrorCode_HeroNoExist.ToString(),
|
||||||
Message: err.Error(),
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -115,7 +114,6 @@ func (this *apiComp) TalentLearn(session comm.IUserSession, req *pb.HeroTalentLe
|
|||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_TalentRepeatLearn, // 重复激活
|
Code: pb.ErrorCode_TalentRepeatLearn, // 重复激活
|
||||||
Title: pb.ErrorCode_TalentRepeatLearn.ToString(),
|
Title: pb.ErrorCode_TalentRepeatLearn.ToString(),
|
||||||
Message: err.Error(),
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -125,7 +123,6 @@ func (this *apiComp) TalentLearn(session comm.IUserSession, req *pb.HeroTalentLe
|
|||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_TalentUnLockerBefore, // 前置技能不满足
|
Code: pb.ErrorCode_TalentUnLockerBefore, // 前置技能不满足
|
||||||
Title: pb.ErrorCode_TalentUnLockerBefore.ToString(),
|
Title: pb.ErrorCode_TalentUnLockerBefore.ToString(),
|
||||||
Message: err.Error(),
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user