From e87b04d7f9d6b25c858d421432bed5443f91b9df Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期一, 16 九月 2019 11:10:34 +0800 Subject: [PATCH] update goffmpeg and capture --- service/EnableStatusControlService.go | 38 ++++++++++++++++++-------------------- 1 files changed, 18 insertions(+), 20 deletions(-) diff --git a/service/EnableStatusControlService.go b/service/EnableStatusControlService.go index c9e1ff5..301859a 100644 --- a/service/EnableStatusControlService.go +++ b/service/EnableStatusControlService.go @@ -2,16 +2,14 @@ import ( "basic.com/dbapi.git" - "basic.com/pubsub/protomsg.git" "encoding/json" "fmt" "strconv" "strings" "time" - "webserver/discovery" "webserver/extend/config" "webserver/extend/esutil" - "webserver/extend/logger" + "basic.com/valib/logger.git" ) func GetVerificationData() []map[string]interface{} { @@ -119,23 +117,23 @@ } if middle > 0 { logger.Debug("淇敼鎴愬姛") - if flag {//鐢熸晥鐨� - discovery.AddDbMessage(&protomsg.EsPersonCacheChange{ - Type: protomsg.EsCacheChanged_T_DbTable, - PersonId: "", - TableId: id, - Feature: "", - Action: protomsg.DbAction_Insert, - }) - } else {//澶辨晥鐨� - discovery.AddDbMessage(&protomsg.EsPersonCacheChange{ - Type: protomsg.EsCacheChanged_T_DbTable, - PersonId: "", - TableId: id, - Feature: "", - Action: protomsg.DbAction_Insert, - }) - } + //if flag {//鐢熸晥鐨� + // discovery.AddDbMessage(&protomsg.EsPersonCacheChange{ + // Type: protomsg.EsCacheChanged_T_DbTable, + // PersonId: "", + // TableId: id, + // Feature: "", + // Action: protomsg.DbAction_Insert, + // }) + //} else {//澶辨晥鐨� + // discovery.AddDbMessage(&protomsg.EsPersonCacheChange{ + // Type: protomsg.EsCacheChanged_T_DbTable, + // PersonId: "", + // TableId: id, + // Feature: "", + // Action: protomsg.DbAction_Insert, + // }) + //} message = "淇敼鎴愬姛" } return message -- Gitblit v1.8.0