Kaynağa Gözat

提交申请,模板消息样式修改

xingzai 3 yıl önce
ebeveyn
işleme
1d853f589c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      controllers/user.go

+ 1 - 1
controllers/user.go

@@ -794,7 +794,7 @@ func (this *UserController) ApplyTryOut() {
 		}
 		openIpItem, _ := models.GetUserRecordByMobile(4, cnf.ConfigValue)
 		if openIpItem != nil && openIpItem.OpenId != "" {
-			if applyMethod != "2" {
+			if req.ApplyMethod != 2 {
 				req.RealName = user.RealName
 				req.CompanyName = user.CompanyName
 			}