...
|
...
|
@@ -48,7 +48,8 @@ func (svr AuthService) AuthLogin(loginCommand *command.LoginCommand) (interface{ |
|
|
Phone: loginCommand.Phone,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
|
log.Logger.Error("refresh im error:" + err.Error()) // 只做提示继续进行登录
|
|
|
//return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
|
}
|
|
|
switch loginCommand.GrantType {
|
|
|
case domain.LoginPwd:
|
...
|
...
|
|