1、修复查询task下的指令不查询IS_VALID和IS_JUDHED字段的bug

This commit is contained in:
PushM
2024-05-14 23:30:13 +08:00
parent a3e5cae9a4
commit 05c7eb85eb
2 changed files with 9 additions and 3 deletions

View File

@@ -51,15 +51,15 @@ public class LoginService {
String accessToken = "";
// 获取 ACCESS_TOKEN
ObjectMapper objectMapper = new ObjectMapper();
// OkHttpClient client = new OkHttpClient();
//不做证书验证的OkHttpClient
OkHttpClient client = new OkHttpClient.Builder()
.sslSocketFactory(OkHttpUtil.getIgnoreInitedSslContext().getSocketFactory(),OkHttpUtil.IGNORE_SSL_TRUST_MANAGER_X509)
.hostnameVerifier(OkHttpUtil.getIgnoreSslHostnameVerifier())
.build();
Request request = new Request.Builder()
// .url("https://passport.zx.com:10217/passport/accessToken?grant_type=client_credentials")
.url("https://114.243.134.122:10217/passport/accessToken?grant_type=client_credentials")
// .url("https://passport.iam.pub/passport/accessToken?grant_type=client_credentials")
.header("Authorization", "Basic TlNBRERAWlguT1JHOk14a1hHZ1ltOUNROUE3TCRSOCNLRW02R1pSeEhwd1c2")

View File

@@ -57,6 +57,8 @@
<result column="SUCCESS_TIMES" property="commandSuccessTimes"/>
<result column="FIRST_SEND_TIME" property="earliestSendTime"/>
<result column="LAST_SEND_TIME" property="latestSendTime"/>
<result column="IS_VALID" property="isValid"/>
<result column="IS_JUDGED" property="isJudged"/>
<association property="fiveTupleWithMask">
<result column="SRC_IP" property="sourceIP"/>
@@ -74,6 +76,8 @@
SUCCESS_TIMES,
FIRST_SEND_TIME,
LASt_SEND_TIME,
IS_VALID,
IS_JUDGED,
SRC_IP,
SRC_PORT,
DST_IP,
@@ -91,6 +95,8 @@
SUCCESS_TIMES,
FIRST_SEND_TIME,
LASt_SEND_TIME,
IS_VALID,
IS_JUDGED,
SRC_IP,
SRC_PORT,
DST_IP,