This commit is contained in:
meixiongfeng 2023-01-14 19:36:41 +08:00
parent 6e744178c1
commit 64980cb107

View File

@ -50,7 +50,7 @@ func (this *apiComp) GetReward(session comm.IUserSession, req *pb.MlineGetReward
}
curChapter.Award[req.Star] = true
update["awared"] = curChapter.Award
update["award"] = curChapter.Award
awardConf := this.module.configure.GetMainStarRewardConf(mLineConf.Starreward)
for _, v := range awardConf {
if v.Starnum == req.Star {