bingo 满英雄 属性没入库问题

This commit is contained in:
meixiongfeng 2023-01-14 14:34:22 +08:00
parent 6efdfa4fb1
commit a25e943818
2 changed files with 7 additions and 6 deletions

View File

@ -726,6 +726,7 @@ func (this *Hero) GetAllMaxHero(session comm.IUserSession) (code pb.ErrorCode) {
"sameCount": 1,
"normalSkill": hero.NormalSkill,
"talentProperty": hero.TalentProperty,
"property": hero.Property,
}
// 保存数据

View File

@ -317,13 +317,13 @@ func (this *Privilege) SendDailyMail(session comm.IUserSession, cId string, coun
N: v.N,
})
}
if pType == 1 {
this.mail.SendMailByCid(session, comm.Yueka_1, res)
} else if pType == 2 {
this.mail.SendMailByCid(session, comm.Yueka_1, res)
for i := 0; i < int(count); i++ {
if pType == 1 {
this.mail.SendMailByCid(session, comm.Yueka_1, res)
} else if pType == 2 {
this.mail.SendMailByCid(session, comm.Yueka_1, res)
}
}
}
func (this *Privilege) CheckAllPrivilege(session comm.IUserSession) map[int32]*pb.PrivilegeList {