作者 tangxvhui

更新日评的的短信

... ... @@ -13,3 +13,4 @@ test环境 https://enterprise-platform-dev.fjmaimaimai.com/#/login
短信模板ID:5475050 短信内容:您好,#name#,百忙之中不要忘记填写今天的绩效自评反馈哦
短信模板ID:5824230 短信内容:您好,#name#,百忙之中不要忘记填写#date#的绩效自评反馈哦
短信模板ID:5833754 短信内容:您好,#name#,您还未完成#date#的绩效自评反馈,请及时完成哦
\ No newline at end of file
... ...
... ... @@ -27,6 +27,13 @@ func AddNotifyStaffAssess(param *domain.StaffAssess) {
return
}
taskSmsNotify.addTask(newSms)
newNotify2 := notifyStaffAssess2{}
newSms2 := newNotify2.makeNotify(param)
if newSms2 == nil {
return
}
taskSmsNotify.addTask(newSms2)
}
// 周期自评短信通知 ,预创建待发送的短信消息
... ...
... ... @@ -31,8 +31,8 @@ func (notices notifyStaffAssess) makeNotify(param *domain.StaffAssess) *domain.L
newSms := domain.LogSms{
Id: 0,
Phone: param.Executor.Account,
TemplateId: 5824230,
Template: "您好,#name#,百忙之中不要忘记填写#date#的绩效自评反馈哦",
TemplateId: 5833754,
Template: "您好,#name#,您还未完成#date#的绩效自评反馈,请及时完成哦",
Value: map[string]string{
"name": param.Executor.UserName,
"date": "本月15日",
... ...