...
|
...
|
@@ -293,6 +293,7 @@ func UCenterRevoke(header *protocol.RequestHeader, userId int64) (rsp *protocol. |
|
|
log.Error(err)
|
|
|
return
|
|
|
}
|
|
|
err = transactionContext.CommitTransaction()
|
|
|
return
|
|
|
}
|
|
|
|
...
|
...
|
@@ -318,7 +319,7 @@ func CenterCompanys(header *protocol.RequestHeader, request *protocolx.CenterCom |
|
|
}()
|
|
|
loginSvr.Init(request.Phone)
|
|
|
if len(loginSvr.Users) == 0 && len(loginSvr.PartnerInfo) == 0 {
|
|
|
err = protocol.NewErrWithMessage(10008)
|
|
|
err = protocol.NewErrWithMessage(10001)
|
|
|
return
|
|
|
}
|
|
|
switch request.GrantType {
|
...
|
...
|
|