|
@@ -67,7 +67,7 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService{
|
|
|
refreshToken = loginResult.getStr("refresh_token");
|
|
refreshToken = loginResult.getStr("refresh_token");
|
|
|
officialSession = execute.body();
|
|
officialSession = execute.body();
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
|
- throw BusinessRuntimeException.getInstance("登录获取token错误 error:" + StringUtil.getErrorText(e));
|
|
|
|
|
|
|
+ throw BusinessRuntimeException.getInstance("登录获取token错误 error:" + e.getMessage());
|
|
|
}
|
|
}
|
|
|
chatgptSession.setOfficialSession(officialSession);
|
|
chatgptSession.setOfficialSession(officialSession);
|
|
|
chatgptSession.setEmail(account.getAccount());
|
|
chatgptSession.setEmail(account.getAccount());
|