Commit 8561ccae by 朱继来

调整释放时间

parent eb44cb88
......@@ -121,7 +121,7 @@ func CalLimitFollowTime(user_id int, assign_time int) int {
// 未下单用户限制跟进时间为30天
var limit_follow_time int
limit_follow_time = assign_time + 30 * 86400
limit_follow_time = assign_time + 15 * 86400
return limit_follow_time
}
......
......@@ -91,7 +91,7 @@ func CompareTime(user_id, limit_follow_time int) {
dao.GetDb().Exec("insert into lie_action_log (user_id, type, event, remark, create_time) values (?, ?, ?, ?, ?)", user_id, 2, "释放用户", "", curr_time)
service.DingAlert(configs.Ding_crm_task_token, "任务告警:释放用户成功,CRM用户ID:"+ strconv.Itoa(user_id), "")
} else if diff <= 7 * 86400 { // 设置为即将流失用户
} else if diff <= 3 * 86400 { // 设置为即将流失用户
if user_info.Is_churn == 1 {
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment