This commit is contained in:
liwei1dao 2022-09-19 14:03:44 +08:00
commit 9153d95b20

View File

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