...
|
...
|
@@ -386,8 +386,8 @@ func CompaniesLogin(header *protocol.RequestHeader, request *protocolx.CenterCom |
|
|
|
|
|
//TODO 通过密码或校验码登录的普通用户或通过校验码登录的游客,注册一个账号到配置的公司去
|
|
|
if request.GrantType == protocol.LoginBySmsCode || request.GrantType == protocol.LoginByPassword {
|
|
|
//userErr := loginSvr.RegistryGuest(request.Phone)
|
|
|
userErr := loginSvr.OperateGuest(request.Phone)
|
|
|
userErr := loginSvr.RegistryGuest(request.Phone)
|
|
|
//userErr := loginSvr.OperateGuest(request.Phone)
|
|
|
if userErr != nil {
|
|
|
log.Error(userErr)
|
|
|
}
|
...
|
...
|
|