notice_task.go 538 B

123456789101112131415161718192021222324252627
  1. package message
  2. import (
  3. logger "eta/eta_mini_ht_api/common/component/log"
  4. "eta/eta_mini_ht_api/common/contants"
  5. "eta/eta_mini_ht_api/task/base"
  6. )
  7. var (
  8. taskName base.TaskType = "NoticeTask"
  9. cron = "0/5 * * * * *"
  10. )
  11. // Execute Task ETA取研报的数据
  12. func (au *AuthorTask) Execute(taskDetail *base.TaskDetail) error {
  13. logger.Info(contants.TaskFormat, "监听更新通知开始")
  14. //metaInfoList := userServcie.getInitMetaInfos()
  15. //报告和媒体
  16. return nil
  17. }
  18. type AuthorTask struct {
  19. }
  20. func init() {
  21. }