@@ -85,6 +85,9 @@ func ArticleHistory(articleId int, user *models.WxUserItem) (err error) {
// 记录用户文章浏览记录带时长
func ArticleHistoryStopTime(articleId, stopTime, outType int, user *models.WxUserItem) (err error) {
+ if user.CompanyId == 1 {
+ return
+ }
defer func() {
if err != nil {
go utils.SendAlarmMsg(fmt.Sprint("记录用户文章浏览记录带时长,失败 ,articleId", articleId, "uid", user.UserId, err.Error()), 2)