|
@@ -110,17 +110,17 @@ public class RiskUserOperateService {
|
|
|
return false;
|
|
|
}
|
|
|
// 如果是群聊,直接踢出
|
|
|
- LOGGER.info("quickKick, message: {}, uuid: {}", message, uuid);
|
|
|
+ LOGGER.info("quickKick, message: {}, uuid: {},timestamp {}", message, uuid,System.currentTimeMillis());
|
|
|
requestBody.put("blacklist_vid",Arrays.asList(message.getMemberList().get(0)));
|
|
|
String params = JSON.toJSONString(requestBody);
|
|
|
Optional<String> response = httpPoolClientDefault.postJson(qywxConfig.getDomain() + qywxConfig.getPath("kick-external"), params);
|
|
|
if (response.isPresent()) {
|
|
|
QwCommonResModel<RoomListResponse> roomInfo = QwCommonResModel.parseResponse(response.get(), RoomListResponse.class);
|
|
|
if (roomInfo.getErrcode() == 0) {
|
|
|
- LOGGER.info("quick Kick external user {} from room {} successfully", vid);
|
|
|
+ LOGGER.info("quick Kick external user {} successfully,timestamp {}", vid,System.currentTimeMillis());
|
|
|
return true;
|
|
|
} else {
|
|
|
- LOGGER.error("Failed to kick external user {} f: {}", vid, roomInfo.getErrmsg());
|
|
|
+ LOGGER.error("Failed to kick external user {} f: {},", vid, roomInfo.getErrmsg());
|
|
|
}
|
|
|
} else {
|
|
|
LOGGER.error("Failed to kick external user {} from : No response", vid);
|