|
@@ -128,6 +128,10 @@ func AutoFollow(this *biservice.CallReq) *biservice.ClueImportResp {
|
|
|
updateData["taskstatus"] = 1
|
|
|
}
|
|
|
updateData["STATE"] = callMap[state]
|
|
|
+ //
|
|
|
+ updateData["trail_time"] = time.Now().Format(date.Date_Full_Layout)
|
|
|
+ updateData["content"] = "客户未接通"
|
|
|
+ //
|
|
|
JyBiTidb.Update("dwd_f_crm_clue_info", map[string]interface{}{"phone": this.Phone}, updateData)
|
|
|
} else {
|
|
|
time.Sleep(10 * time.Second)
|
|
@@ -157,7 +161,11 @@ func AutoFollow(this *biservice.CallReq) *biservice.ClueImportResp {
|
|
|
})
|
|
|
updateData["taskstatus"] = 1
|
|
|
}
|
|
|
- updateData["STATE"] = callMap["state"]
|
|
|
+ updateData["STATE"] = callMap[state]
|
|
|
+ //
|
|
|
+ updateData["trail_time"] = time.Now().Format(date.Date_Full_Layout)
|
|
|
+ updateData["content"] = "客户未接通"
|
|
|
+ //
|
|
|
JyBiTidb.Update("dwd_f_crm_clue_info", map[string]interface{}{"phone": this.Phone}, updateData)
|
|
|
}
|
|
|
}
|