This commit is contained in:
daichao
2025-02-19 11:21:40 +08:00
parent 9a6db66a56
commit 8cf2a64bc0

View File

@ -389,7 +389,7 @@ func (l ListenSymbol) Exec(arg interface{}) error {
//发送邮箱
emails := strings.Split(configResp.ConfigValue, ",")
for _, email := range emails {
emailhelper.SendNoticeEmail(email, chain, symbol.Token0Symbol+"/"+symbol.Token1Symbol, symbol.Pair)
emailhelper.SendNoticeEmail(email, chain, symbol.Token0Symbol+"/"+symbol.Token1Symbol, symbol.TargetToken)
}
// 清除数据
db.Model(&models.SpiderListenSymbol{}).Where("coin = ? AND currency = ?", symbol.Token0Symbol, symbol.Token1Symbol).Delete(&models.SpiderListenSymbol{})