diff --git a/modules/hero/api_strengthenUpStar.go b/modules/hero/api_strengthenUpStar.go index 45c0eaa29..89a6980b8 100644 --- a/modules/hero/api_strengthenUpStar.go +++ b/modules/hero/api_strengthenUpStar.go @@ -11,7 +11,7 @@ import ( //参数校验 func (this *apiComp) StrengthenUpStarCheck(session comm.IUserSession, req *pb.HeroStrengthenUpStarReq) (code pb.ErrorCode) { - if req.HeroObjID == "" || len(req.Hero) == 0 || len(req.HeroRace) == 0 { + if req.HeroObjID == "" || len(req.HeroRace) == 0 { code = pb.ErrorCode_ReqParameterError }