@@ -757,7 +757,7 @@ func ObjData(isPayUser bool, sid, content string, lent int) (t bool, obj map[str
//competehref字段来源:
//1、竞品采集 href="#" competehref=原网址
//2、2021-11-01后新增的爬虫 href=原网址 competehref="#"
- if util.ObjToString(obj["href"]) == "#" || infoformat == 2 {
+ if util.ObjToString(obj["href"]) == "#" || infoformat == 2 || util.ObjToString(obj["site"]) == "剑鱼信息发布平台" {
delete(obj, "href")
delete(obj, "competehref")
}
@@ -542,7 +542,7 @@ func wxvisitD(sid, userId string, isPayUser bool) (objdata map[string]interface{
var infoformat = util.IntAllDef(obj["infoformat"], 1)
obj["infoformat"] = infoformat
//精准字段(竞争对手的地址) 或 拟建项目
@@ -222,7 +222,7 @@ func ObjData(sid, content string, isPayUser bool) (obj map[string]interface{}) {
infoformat := qutil.IntAllDef(obj["infoformat"], 1)
- if qutil.ObjToString(obj["href"]) == "#" || infoformat == 2 {
+ if qutil.ObjToString(obj["href"]) == "#" || infoformat == 2 || qutil.ObjToString(obj["site"]) == "剑鱼信息发布平台" {
@@ -557,7 +557,7 @@ func GetOriginalTextUrl(biddingId string) (href string) {
//精准字段(竞争对手的地址) 或 拟建项目不返回原文地址
// infoformat: 拟建数据标识
} else {