wcj 5 년 전
부모
커밋
3c85b030fe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/jfw/modules/pushsubscribe/src/push/job/timetask.go

+ 1 - 1
src/jfw/modules/pushsubscribe/src/push/job/timetask.go

@@ -21,7 +21,7 @@ func (t *TimeTask) Run() {
 		logger.Error("开始每天1点删除过期关联项目数据错误。。。")
 		sess := mongodb.GetMgoConn()
 		defer mongodb.DestoryMongoConn(sess)
-		_, err := sess.DB(DbName).C(Pushspace_vip).RemoveAll(map[string]interface{}{
+		_, err := sess.DB(DbName).C(Pushspace_project).RemoveAll(map[string]interface{}{
 			"createtime": map[string]interface{}{
 				"$lt": time.Now().AddDate(0, -3, 0).Unix(),
 			},