This commit is contained in:
2025-02-19 17:03:16 +08:00
parent 597dbc78b8
commit b132ee879b
2 changed files with 3 additions and 5 deletions

View File

@ -58,7 +58,7 @@ func (s *SpiderListenSymbolInsertReq) Generate(model *models.SpiderListenSymbol)
model.Coin = strings.ToUpper(s.Coin)
model.Currency = strings.ToUpper(s.Currency)
model.Symbol = s.Coin + s.Currency
model.Symbol = model.Coin + model.Currency
model.CreateBy = s.CreateBy // 添加这而,需要记录是被谁创建的
}
@ -94,7 +94,7 @@ func (s *SpiderListenSymbolUpdateReq) Generate(model *models.SpiderListenSymbol)
// model.Symbol = s.Symbol
model.Coin = strings.ToUpper(s.Coin)
model.Currency = strings.ToUpper(s.Currency)
model.Symbol = s.Coin + s.Currency
model.Symbol = model.Coin + model.Currency
model.UpdateBy = s.UpdateBy // 添加这而,需要记录是被谁更新的
}