rdluck 4 years ago
parent
commit
1504c0efa0
1 changed files with 1 additions and 3 deletions
  1. 1 3
      controllers/user.go

+ 1 - 3
controllers/user.go

@@ -617,9 +617,7 @@ func (this *UserController) ApplyTryOut() {
 		}
 		sellerMobile = sellerItem.Mobile
 	}
-	//models.GetWxUserItemByMobile()
-
-	err = models.AddApplyRecord(&req, user.Mobile,"", user.UserId,0)
+	err = models.AddApplyRecord(&req, user.Mobile,user.CompanyName, user.UserId,user.CompanyId)
 	if err != nil {
 		br.Msg = "申请失败"
 		br.ErrMsg = "申请失败,Err:" + err.Error()