|
|
@@ -103,7 +103,7 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService {
|
|
|
at.setPassword(password);
|
|
|
JSONObject loginResult = getLoginResult(at);
|
|
|
String str = loginResult.getStr("detail");
|
|
|
- if (StringUtils.isBlank(str)) {
|
|
|
+ if (StringUtils.isNotBlank(str)) {
|
|
|
throw BusinessRuntimeException.getInstance("登录获取token错误 error:" + str);
|
|
|
}
|
|
|
officialSession = loginResult.toString();
|