todo: twitcasting 测试 store. 2. 修改streamer. tag 符合要求

This commit is contained in:
eson
2020-09-07 18:12:18 +08:00
parent 7849d09a18
commit 2c557e3b42
7 changed files with 256 additions and 244 deletions

View File

@@ -21,5 +21,5 @@ func TestUpdateTime(t *testing.T) {
}
func TestMain(t *testing.T) {
main()
}

View File

@@ -132,7 +132,9 @@ func Execute() {
streamer.UpdateTime = sql.NullTime{Time: time.Now(), Valid: true}
streamer.UserName = sql.NullString{String: sp.UserName, Valid: true}
streamer.UserId = sp.UserId
estore.InsertStreamer(streamer)
streamer.Operator = 33
// estore.InsertStreamer(streamer)
intimate.TStreamer.Insert(streamer)
}
log.Println("finish remain", queue.Size())