From da99edba7d05f757368b760043526e919d7f19ca Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期一, 16 九月 2019 16:14:13 +0800 Subject: [PATCH] config.Init --- service/EnableStatusControlService.go | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/service/EnableStatusControlService.go b/service/EnableStatusControlService.go index 7e0f303..301859a 100644 --- a/service/EnableStatusControlService.go +++ b/service/EnableStatusControlService.go @@ -9,7 +9,7 @@ "time" "webserver/extend/config" "webserver/extend/esutil" - "webserver/extend/logger" + "basic.com/valib/logger.git" ) func GetVerificationData() []map[string]interface{} { @@ -117,6 +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, + // }) + //} message = "淇敼鎴愬姛" } return message -- Gitblit v1.8.0