浏览代码

fix:公众号文章定时任务暂时关闭

Roc 3 周之前
父节点
当前提交
e9c4dcb708
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      services/wechat_platform.go

+ 2 - 2
services/wechat_platform.go

@@ -50,8 +50,8 @@ func RefreshWechatPlatform(cont context.Context) (err error) {
 	}
 
 	for _, v := range platformList {
-		AddWechatArticleOpToCache(v.WechatPlatformId, "refresh")
-		time.Sleep(1 * time.Minute)
+		//AddWechatArticleOpToCache(v.WechatPlatformId, "refresh")
+		//time.Sleep(1 * time.Minute)
 	}
 
 	return