作者 tangxvhui

更新 通知内容文本

@@ -324,7 +324,7 @@ func (srv TaskService) UpdateTask(param *command.UpdateTaskCommand) (map[string] @@ -324,7 +324,7 @@ func (srv TaskService) UpdateTask(param *command.UpdateTaskCommand) (map[string]
324 for _, val := range markStage { 324 for _, val := range markStage {
325 for _, val2 := range taskData.RelatedUser { 325 for _, val2 := range taskData.RelatedUser {
326 t1 := time.Unix(val.PlanCompletedAt, 0).Format("2006-01-02") 326 t1 := time.Unix(val.PlanCompletedAt, 0).Format("2006-01-02")
327 - s := fmt.Sprintf("【%s 任务里程碑 %s 计划完成时间变更为 %s,请知晓】", taskData.Alias, val.Name, t1) 327 + s := fmt.Sprintf(`%s 负责的任务 %s 的里程碑 %s 计划完成时间变更为 %s,请知晓!`, taskData.Leader.Name, taskData.Alias, val.Name, t1)
328 payload := map[string]string{ 328 payload := map[string]string{
329 "id": strconv.Itoa(val.Id), 329 "id": strconv.Itoa(val.Id),
330 "taskName": taskData.Name, 330 "taskName": taskData.Name,