diff --git a/modules/hero/module.go b/modules/hero/module.go index 92125aad2..f4d708b36 100644 --- a/modules/hero/module.go +++ b/modules/hero/module.go @@ -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, } // 保存数据 diff --git a/modules/privilege/module.go b/modules/privilege/module.go index e9e4e5e25..d1332ea84 100644 --- a/modules/privilege/module.go +++ b/modules/privilege/module.go @@ -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 {