许愿招募 时间到了 时间清理处理

This commit is contained in:
meixiongfeng 2023-08-25 11:23:03 +08:00
parent 3ec18a9c05
commit cda331e3f1

View File

@ -87,6 +87,8 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq
Code: pb.ErrorCode_HeroDrawCD,
}
return
} else { // 时间到了
heroRecord.Wish[heroRecord.WishHero] = 0 // 时间清0
}
}
costRes = append(costRes, conf.Cond[heroRecord.WishHero].buyCos)