@@ -59,6 +59,9 @@ func AddCygxUserAdminShareHistory(user *models.WxUserItem, source, sourceTitle,
return
}
+ if user.UserId == 0 {
+ return
+ }
//3秒之内多次请求,不重复记录
key := "CYGX_" + source + "_" + strconv.Itoa(sourceId) + "_" + strconv.Itoa(user.UserId)
if utils.Rc.IsExist(key) {