554325746@qq.com
2019-06-25 9dda95e194a0c947f1ad41dda7d916d4a0b2fb93
dbpersoninfo.go
@@ -54,7 +54,9 @@
//    Getdbpersonmsg("")
//}
func Getdbpersonmsg(teststring string, IsCompare bool) ([]protomsg.Baseinfo) {
func Getdbpersonmsg(teststring string, IsCompare bool) ([]byte) {
    var binfos protomsg.Binfos
    if !IsCompare {
        return nil
@@ -71,8 +73,15 @@
    firsttime := time.Now()
    Rscore := Cmap.Walk(Printest, teststring)
    binfos.Infos = append(binfos.Infos, Rscore...)
    binfosbytes, err := binfos.Marshal()
    if err != nil  {
        fmt.Println(err)
        return nil
    }
    fmt.Println(time.Since(firsttime))
    return Rscore
    return binfobytes
}
func Printest(ci, co string ) (float32){