todo: openrec 重构

This commit is contained in:
eson
2020-08-14 19:26:03 +08:00
parent b20f97f7c9
commit a50c879d83
6 changed files with 25 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ func main() {
streamer, err := estore.Pop(intimate.Ptwitcasting)
if err != nil {
log.Println(err, streamer.UserId)
log.Println(err, streamer)
}
streamer.LiveUrl = sql.NullString{String: "https://twitcasting.tv/" + streamer.UserId, Valid: true}
@@ -93,7 +93,7 @@ func main() {
streamer.Platform = intimate.Ptwitcasting
streamer.UpdateTime = sql.NullTime{Time: time.Now(), Valid: true}
streamer.UserName = sql.NullString{String: ldata.UserName, Valid: true}
streamer.Operator = 10
streamer.Operator = 0
// streamer.UpdateInterval = 60
clog := &intimate.CollectLog{}
clog.UserId = streamer.UserId