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