Browse Source

no message

zhangchuanxing 3 months ago
parent
commit
a3870512b3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      services/article.go

+ 2 - 2
services/article.go

@@ -1117,7 +1117,7 @@ func HandleArticleListByApi(artcleId int) (err error) {
 				//fmt.Println("触发推送规则")
 				//更新字数大于一百字触发推送规则
 				go DoArticleOnenIdWxTemplateMsg(v.ArticleId)
-				go UpdateArticleResourceData(v.ArticleId) //把数据写入 cygx_resource_data 表
+				UpdateArticleResourceData(v.ArticleId) //把数据写入 cygx_resource_data 表
 				//go UpdateResourceData(v.ArticleId, "article", "update", time.Now().Format(utils.FormatDateTime))
 			}
 			var isCustom bool
@@ -1215,7 +1215,7 @@ func HandleArticleListByApi(artcleId int) (err error) {
 				return err
 			}
 			//go UpdateResourceData(v.ArticleId, "article", "add", time.Now().Format(utils.FormatDateTime))
-			go UpdateArticleResourceData(v.ArticleId) //把数据写入 cygx_resource_data 表
+			UpdateArticleResourceData(v.ArticleId) //把数据写入 cygx_resource_data 表
 			//fmt.Println(newId)
 			//报告自动归类,以及推送相关模板消息
 			if v.ReportType == 2 {