liuxiaolong
2019-09-05 9fc8b8adf2f2856a545682e185512aa0e45ac06c
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