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