abiao лет назад: 2
Родитель
Сommit
a3c8a32edc

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

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