重构完成

This commit is contained in:
eson
2020-09-09 17:25:36 +08:00
parent 30a6c35980
commit a9bb448351
14 changed files with 47 additions and 249 deletions

View File

@@ -12,7 +12,7 @@ import (
)
// estore 解析存储连接实例
var estore *intimate.StoreExtractor = intimate.NewStoreExtractor()
// var estore *intimate.StoreExtractor = intimate.NewStoreExtractor()
// Execute 执行
func Execute() {
@@ -95,7 +95,10 @@ func Execute() {
}
streamer.UpdateInterval = 120
estore.InsertStreamer(streamer)
err = intimate.TStreamer.Insert(streamer)
if err != nil {
panic(err)
}
} else {
log.Println("userid is null.", room.String())