|
@@ -398,7 +398,7 @@ func doIndex(infos []map[string]interface{}, bkey, stype string) int {
|
|
|
// 2024-02-21 徐志恒 情报标签字段
|
|
|
toptype := util.ObjToString(tmp["toptype"])
|
|
|
subtype := util.ObjToString(tmp["subtype"])
|
|
|
- buyerclass := util.ObjToString(compare["buyerclass"])
|
|
|
+ buyerclass := util.ObjToString(update["buyerclass"])
|
|
|
if buyerclass != "" {
|
|
|
update["buyer_type"] = getStr(buyerclass)
|
|
|
}
|
|
@@ -407,7 +407,7 @@ func doIndex(infos []map[string]interface{}, bkey, stype string) int {
|
|
|
update["tag_set"] = getTagSet(tmp, compare)
|
|
|
}
|
|
|
if len(update) > 0 {
|
|
|
- log.Println("保存bidding区域 省", update["area"], " 市 ", update["city"], " 区 ", update["district"], " id ", tid)
|
|
|
+ log.Println("保存bidding区域 省", update["area"], " 市 ", update["city"], " 区 ", update["district"], " buyerclass ", update["buyerclass"], update["buyer_type"], " id ", tid)
|
|
|
if len(del) > 0 {
|
|
|
bidUpdate = append(bidUpdate, []map[string]interface{}{{
|
|
|
"_id": tmp["_id"],
|