abiao лет назад: 2
Родитель
Сommit
dee716585d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      go/gopath/src/fohow.com/apps/controllers/user_controller/user_controller.go

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/user_controller/user_controller.go

@@ -214,7 +214,7 @@ func (self *UserController) Get() {
 		}
 		}
 		user.Employ = false
 		user.Employ = false
 		if user.Tel == "" {
 		if user.Tel == "" {
-			empploy := user_model.GetEmployer(user.Tel, true)
+			empploy := user_model.GetEmployer(user.Tel, false)
 			if empploy != nil {
 			if empploy != nil {
 				user.Employ = true
 				user.Employ = true
 			}
 			}