panlei
2019-07-30 992fa242f6dd4e304063ed5fb5d3f4fb074307cc
ruleserver/readyDataForRule.go
@@ -1,8 +1,8 @@
package ruleserver
import (
   "basic.com/pubsub/cache.git/esutil"
   bigCache "basic.com/pubsub/cache.git"
   "basic.com/pubsub/cache.git/esutil"
   "basic.com/pubsub/protomsg.git"
   "encoding/json"
   "fmt"
@@ -174,7 +174,7 @@
         if err != nil || len(table) == 0{
            logger.Error("根据id查询底库信息出错!",err,"--返回值长度为:",len(table))
         }
         base := BaseInfo{TableId:baseinfo.TableId,TableName:table[0].TableName,BwType:table[0].BwType,CompareScore:Retain(m[baseinfo.Id]),PersonId:baseinfo.Id,PersonName:baseinfo.PersonName,PersonPicUrl:baseinfo.PersonPicUrl,PhoneNum:baseinfo.PhoneNum,Sex:baseinfo.Sex,IdCard:baseinfo.IdCard,MonitorLevel:baseinfo.MonitorLevel,Content:baseinfo.Reserved}
         base := BaseInfo{TableId:baseinfo.TableId,TableName:table[0].TableName,BwType:table[0].BwType,CompareScore:Retain(m[baseinfo.Id])*100,PersonId:baseinfo.Id,PersonName:baseinfo.PersonName,PersonPicUrl:baseinfo.PersonPicUrl,PhoneNum:baseinfo.PhoneNum,Sex:baseinfo.Sex,IdCard:baseinfo.IdCard,MonitorLevel:baseinfo.MonitorLevel,Content:baseinfo.Reserved}
         //logger.Debug("看看这个base的对比值是多少:",base)
         //os.Exit(1)
         arg.Liker = append(arg.Liker, &base)