This commit is contained in:
aozhiwei 2024-06-25 11:07:55 +08:00
parent 096de683f2
commit 10b24e8a4a
2 changed files with 6 additions and 4 deletions

View File

@ -57,7 +57,7 @@ func (this* hero) internalSendMail(dbIdx int64, accountAddress string, mailName
subject := mailMeta.GetTitle()
content := ""
uniKey := fmt.Sprintf("%d_%s_%s", dbIdx, mailName, tokenId)
service.SendSysMail(
sendOk := service.SendSysMail(
uniKey,
accountId,
subject,
@ -65,6 +65,9 @@ func (this* hero) internalSendMail(dbIdx int64, accountAddress string, mailName
q5.ToInt32(nowTime),
mailCfg.Tag1,
mailCfg.Tag2)
if sendOk {
}
return true
}

View File

@ -5,7 +5,7 @@ import (
"f5"
"time"
"fmt"
//"mt"
"mt"
"jccommon"
"main/constant"
)
@ -49,7 +49,6 @@ SELECT * FROM t_721nft_spec_transfer WHERE idx > %d AND status = 0 AND createtim
}
func (this* SpecTransfer721) dispatch(ds *f5.DataSet) bool {
/*
idx := q5.ToInt64(ds.GetByName("idx"))
netId := q5.ToInt32(ds.GetByName("net_id"))
contractAddress := ds.GetByName("contract_address")
@ -70,6 +69,6 @@ func (this* SpecTransfer721) dispatch(ds *f5.DataSet) bool {
}
}
}
}*/
}
return true
}