Jianghan 1 年之前
父节点
当前提交
6103a8794d
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      clueSync/sendMail.go

+ 4 - 4
clueSync/sendMail.go

@@ -285,12 +285,12 @@ func CantBeAssignedNots() {
 // @Date 2024/4/10
 func HandOverFail(posid int64, ent string) {
 	title := "客成线索移交失败通知"
-	content := "您的私海线索已超过%d条(不包含成交客户),已达到私海线索上限%d条(不包含成交客户),导致“%s”无法从客成到期自动移交至私海,请及时将无需跟进的线索退回公海,超过3个工作日不处理,该线索将自动退回至公海"
+	content := "您的私海线索已超过%d条(不包含成交客户),已达到私海线索上限%d条(不包含成交客户),导致“%s”无法从客成到期自动移交至私海,请及时将无需跟进的线索退回公海,超过%d个工作日不处理,该线索将自动退回至公海"
 
 	toMail := ""
 	toCc := ""
 	info := TiDb.SelectBySql(selfMail, posid)
-	content = fmt.Sprintf(content, cfg.AllocationCap, cfg.AllocationCap, ent)
+	content = fmt.Sprintf(content, cfg.AllocationCap, cfg.AllocationCap, ent, cfg.ThawDay)
 	if info != nil && len(*info) > 0 {
 		toMail = getMailAds(common.ObjToString((*info)[0]["mail"]), common.ObjToString((*info)[0]["name"]))
 	}
@@ -307,11 +307,11 @@ func HandOverFail(posid int64, ent string) {
 // @Date 2024/4/10
 func OrderCreateFail(posid int64, bname string) {
 	title := "订单用户创建线索失败通知"
-	content := "您的私海线索已超过%d条(不包含成交客户),已达到私海线索上限%d条(不包含成交客户),导致订单系统的用户“%s”无法进入您的私海,请及时将无需跟进的线索退回公海,超过3个工作日不处理,该线索将自动进入至公海。"
+	content := "您的私海线索已超过%d条(不包含成交客户),已达到私海线索上限%d条(不包含成交客户),导致订单系统的用户“%s”无法进入您的私海,请及时将无需跟进的线索退回公海,超过%d个工作日不处理,该线索将自动进入至公海。"
 
 	toMail := ""
 	toCc := ""
-	content = fmt.Sprintf(content, cfg.AllocationCap, cfg.AllocationCap, bname)
+	content = fmt.Sprintf(content, cfg.AllocationCap, cfg.AllocationCap, bname, cfg.ThawDay)
 	info := TiDb.SelectBySql(selfMail, posid)
 	if info != nil && len(*info) > 0 {
 		toMail = getMailAds(common.ObjToString((*info)[0]["mail"]), common.ObjToString((*info)[0]["name"]))