Browse Source

新增字段

WH01243 3 months ago
parent
commit
e024a9fefb
1 changed files with 0 additions and 9 deletions
  1. 0 9
      common/src/qfw/util/jy/subScribe.go

+ 0 - 9
common/src/qfw/util/jy/subScribe.go

@@ -187,12 +187,3 @@ func SaveUserLog(mg mongodb.MongodbSim, userid, phone, way, system, source, open
 	}
 	mg.Save("register_log", data)
 }
-
-func GetEsDetail(sid string) string {
-	r := elastic.Get("bidding", "bidding", fmt.Sprintf(`{"query":{"bool":{"must":[{"term":{"id":"%s"}}]}},"_source":["_id","detail"],"size":1}`, sid))
-	detail := ""
-	if len(*r) > 0 {
-		detail = gconv.String((*r)[0]["detail"])
-	}
-	return detail
-}