作者 yangfu

Merge branch 'dev' of http://gitlab.fjmaimaimai.com/mmm-go/oppmg into dev

# Conflicts:
#	models/user_company.go
#	services/auth/auth.go
@@ -231,12 +231,7 @@ func LoginAuthByUCenter(account, password string) (protocol.LoginAuthToken, erro @@ -231,12 +231,7 @@ func LoginAuthByUCenter(account, password string) (protocol.LoginAuthToken, erro
231 companyid int64 231 companyid int64
232 userdata *models.User 232 userdata *models.User
233 ) 233 )
234 -<<<<<<< HEAD  
235 -  
236 - _, err = models.GetUserByPhone(account)  
237 -=======  
238 userdata, err = models.GetUserByPhone(account) 234 userdata, err = models.GetUserByPhone(account)
239 ->>>>>>> 626a6b6d8e73bd83579be13a797ab6c1fce8d3d8  
240 if err != nil { 235 if err != nil {
241 log.Debug("GetUserByPhone(%s) err:%s", account, err) 236 log.Debug("GetUserByPhone(%s) err:%s", account, err)
242 return logintoken, protocol.NewErrWithMessage("10021") 237 return logintoken, protocol.NewErrWithMessage("10021")