1
This commit is contained in:
parent
d8479b1fbe
commit
ac0e4feac3
@ -73,7 +73,7 @@ func (this *MailTable) loadMail(mailName string) {
|
||||
this.nameHash.Store(mailName, p)
|
||||
}
|
||||
|
||||
func (this *MailTable) GetMailByName(mailName string) *Mail {
|
||||
func (this *MailTable) GetByName(mailName string) *Mail {
|
||||
if v, ok := this.nameHash.Load(mailName); ok {
|
||||
return *v
|
||||
} else {
|
||||
|
@ -44,11 +44,10 @@ func (this* hero) internalSendMail(dbIdx int64, accountAddress string, mailName
|
||||
if accountId == "" {
|
||||
return true
|
||||
}
|
||||
/*
|
||||
mailMeta := mt.Table.Mail.GetByName(mailName)
|
||||
if mailMeta == nil {
|
||||
return true
|
||||
}*/
|
||||
}
|
||||
mailCfg := this.getMailConfig(mailName)
|
||||
if mailCfg == nil {
|
||||
return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user