作者 陈志颖

fix:登录调整

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