Browse Source

活动模板消息推送之后,修改活动状态

xingzai 3 years ago
parent
commit
851929960e
1 changed files with 10 additions and 0 deletions
  1. 10 0
      services/activity.go

+ 10 - 0
services/activity.go

@@ -464,6 +464,11 @@ func SendEmailFileForAskMsgResearch(cont context.Context) (err error) {
 				}
 				}
 			}
 			}
 		}
 		}
+		errFile = models.UPdateActivityMsgToSendFile(v.ActivityId)
+		if errFile != nil {
+			msg = "获取失败,Err:" + errFile.Error()
+			return
+		}
 	}
 	}
 	return
 	return
 }
 }
@@ -631,6 +636,11 @@ func SendEmailFileForAskMsg(cont context.Context) (err error) {
 				}
 				}
 			}
 			}
 		}
 		}
+		errFile = models.UPdateActivityMsgToSendFile(v.ActivityId)
+		if errFile != nil {
+			msg = "获取失败,Err:" + errFile.Error()
+			return
+		}
 	}
 	}
 	return
 	return
 }
 }