---
panlei
2019-12-16 dbe87b1dd2f0d1bf765742c95e58c8bb1bef0229
---
1个文件已修改
4 ■■■ 已修改文件
ruleserver/readyDataForRule.go 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruleserver/readyDataForRule.go
@@ -3,6 +3,7 @@
import (
    "basic.com/dbapi.git"
    "basic.com/pubsub/protomsg.git"
    "encoding/base64"
    "encoding/json"
    "errors"
    "fmt"
@@ -115,9 +116,10 @@
// 给目标填充liker
func fillLiker(tableId []string, compareThreshold float32,arg *structure.Arg) {
    //bytes := bigCache.GetComparePersonBaseInfo(tableId, arg.Feature, compareThreshold)
    decodeBytes, _ := base64.StdEncoding.DecodeString(arg.Feature)
    comArg := &protomsg.CompareArgs{
        TableIds:tableId,
        FaceFeature:arg.Feature,
        FaceFeature:decodeBytes,
        CompareThreshold:compareThreshold,
        Source:false,
    }