正在显示
3 个修改的文件
包含
11 行增加
和
3 行删除
| @@ -12,4 +12,5 @@ test环境 https://enterprise-platform-dev.fjmaimaimai.com/#/login | @@ -12,4 +12,5 @@ test环境 https://enterprise-platform-dev.fjmaimaimai.com/#/login | ||
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | 短信模板ID:5475050 短信内容:您好,#name#,百忙之中不要忘记填写今天的绩效自评反馈哦 | 14 | 短信模板ID:5475050 短信内容:您好,#name#,百忙之中不要忘记填写今天的绩效自评反馈哦 |
| 15 | -短信模板ID:5824230 短信内容:您好,#name#,百忙之中不要忘记填写#date#的绩效自评反馈哦 | ||
| 15 | +短信模板ID:5824230 短信内容:您好,#name#,百忙之中不要忘记填写#date#的绩效自评反馈哦 | ||
| 16 | +短信模板ID:5833754 短信内容:您好,#name#,您还未完成#date#的绩效自评反馈,请及时完成哦 |
| @@ -27,6 +27,13 @@ func AddNotifyStaffAssess(param *domain.StaffAssess) { | @@ -27,6 +27,13 @@ func AddNotifyStaffAssess(param *domain.StaffAssess) { | ||
| 27 | return | 27 | return |
| 28 | } | 28 | } |
| 29 | taskSmsNotify.addTask(newSms) | 29 | taskSmsNotify.addTask(newSms) |
| 30 | + | ||
| 31 | + newNotify2 := notifyStaffAssess2{} | ||
| 32 | + newSms2 := newNotify2.makeNotify(param) | ||
| 33 | + if newSms2 == nil { | ||
| 34 | + return | ||
| 35 | + } | ||
| 36 | + taskSmsNotify.addTask(newSms2) | ||
| 30 | } | 37 | } |
| 31 | 38 | ||
| 32 | // 周期自评短信通知 ,预创建待发送的短信消息 | 39 | // 周期自评短信通知 ,预创建待发送的短信消息 |
| @@ -31,8 +31,8 @@ func (notices notifyStaffAssess) makeNotify(param *domain.StaffAssess) *domain.L | @@ -31,8 +31,8 @@ func (notices notifyStaffAssess) makeNotify(param *domain.StaffAssess) *domain.L | ||
| 31 | newSms := domain.LogSms{ | 31 | newSms := domain.LogSms{ |
| 32 | Id: 0, | 32 | Id: 0, |
| 33 | Phone: param.Executor.Account, | 33 | Phone: param.Executor.Account, |
| 34 | - TemplateId: 5824230, | ||
| 35 | - Template: "您好,#name#,百忙之中不要忘记填写#date#的绩效自评反馈哦", | 34 | + TemplateId: 5833754, |
| 35 | + Template: "您好,#name#,您还未完成#date#的绩效自评反馈,请及时完成哦", | ||
| 36 | Value: map[string]string{ | 36 | Value: map[string]string{ |
| 37 | "name": param.Executor.UserName, | 37 | "name": param.Executor.UserName, |
| 38 | "date": "本月15日", | 38 | "date": "本月15日", |
-
请 注册 或 登录 后发表评论