|
@@ -43,7 +43,9 @@ public class WeComAccountJob {
|
|
|
String response = apiClient.getRunClientByUuid(new UuidRequest(uuid));
|
|
|
CommonResponse<LoginInfo> commonResponse =
|
|
|
JSONObject.parseObject(response, new TypeReference<CommonResponse<LoginInfo>>() {});
|
|
|
- if (commonResponse.getErrcode() != 0 && Objects.isNull(commonResponse.getData().getUser_info())) {
|
|
|
+ if (commonResponse.getErrcode() != 0
|
|
|
+ && (Objects.isNull(commonResponse.getData().getUser_info())
|
|
|
+ || Objects.isNull(commonResponse.getData().getUser_info().getObject()))) {
|
|
|
redisUtils.set(offLineKey, "1", 30 * 60);
|
|
|
LarkRobotUtil.sendWeComThirdPartMessage(
|
|
|
"【账号掉线检测通知】\n" +
|