Browse Source

no message

xingzai 1 year ago
parent
commit
248a3d919c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/article.go

+ 1 - 0
controllers/article.go

@@ -271,6 +271,7 @@ func (this *ArticleController) Detail() {
 				}
 			}
 			if hasPersion {
+				hasPermission = 1
 				go services.ArticleHistory(articleId, user)
 				//30分钟之内阅读同一篇文章不错二次推送
 				key := "CYGX_ARTICLE_READ" + strconv.Itoa(articleId) + "_" + strconv.Itoa(uid)