xingzai hai 1 ano
pai
achega
16a15e7149
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/yanxuan_special.go

+ 1 - 1
controllers/yanxuan_special.go

@@ -808,7 +808,7 @@ func (this *YanxuanSpecialController) Follow() {
 			br.ErrMsg = "获取失败, Err:" + err.Error()
 			return
 		}
-		if followCount == 0 {
+		if followCount == 0 && user.UserId > 0 {
 			item := models.CygxYanxuanSpecialFollow{
 				UserId:           user.UserId,
 				FollowUserId:     req.FollowUserId,