rdluck пре 4 година
родитељ
комит
118874ffe0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      controllers/article.go

+ 1 - 1
controllers/article.go

@@ -272,7 +272,7 @@ func (this *ArticleController) InterviewApply() {
 		item := new(models.CygxInterviewApply)
 		item.ArticleId = req.ArticleId
 		item.UserId = uid
-		item.CompanyId = this.User.CompanyId
+		item.CompanyId = user.CompanyId
 		item.Status = "待邀请"
 		item.Sort = 1
 		item.ArticleTitle = article.Title