|
@@ -194,6 +194,7 @@ func FormatData(data map[string]interface{}, item string) (bool, bool) {
|
|
if cluename == "" && item != "message" && item != "orders" && item != "readClue" {
|
|
if cluename == "" && item != "message" && item != "orders" && item != "readClue" {
|
|
cluename = phone //没有线索名,手机号代替
|
|
cluename = phone //没有线索名,手机号代替
|
|
}
|
|
}
|
|
|
|
+ cluename = strings.ReplaceAll(cluename, " ", "")
|
|
isGroup, isCommerce := GetCompanyType(cluename) //判断是否集团公司、工商库
|
|
isGroup, isCommerce := GetCompanyType(cluename) //判断是否集团公司、工商库
|
|
if source == "0104" || strings.HasPrefix(belong_to, "02") || source == "0102" || source == "0103" || phone == "" { //参照用户来源代码表
|
|
if source == "0104" || strings.HasPrefix(belong_to, "02") || source == "0102" || source == "0103" || phone == "" { //参照用户来源代码表
|
|
//log.Println("线索分配失败,线索过滤!!", item, source, phone, userId)
|
|
//log.Println("线索分配失败,线索过滤!!", item, source, phone, userId)
|