作者 陈志颖

fix:登录调整

@@ -543,11 +543,7 @@ func CompaniesLoginByCredential(header *protocol.RequestHeader, request *protoco @@ -543,11 +543,7 @@ func CompaniesLoginByCredential(header *protocol.RequestHeader, request *protoco
543 loginSvr.Init(claim.Phone) 543 loginSvr.Init(claim.Phone)
544 544
545 // 判断是否高管 545 // 判断是否高管
546 - ok, loginErr := loginSvr.CheckIsSenior(claim.Phone, 0)  
547 - if loginErr != nil {  
548 - err = protocol.NewErrWithMessage(10001)  
549 - return  
550 - } 546 + ok, _ := loginSvr.CheckIsSenior(claim.Phone, claim.CompanyId)
551 547
552 rsp.Partner, _ = loginSvr.PartnerStaticInfo() 548 rsp.Partner, _ = loginSvr.PartnerStaticInfo()
553 rsp.Manager, _ = loginSvr.ManagerStaticInfo() 549 rsp.Manager, _ = loginSvr.ManagerStaticInfo()