This commit is contained in:
meixiongfeng 2023-06-21 19:09:36 +08:00
parent f56be5e9d3
commit d223ccb513

View File

@ -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
} }