修改接口bug

This commit is contained in:
王文艳
2026-06-12 20:51:27 +08:00
parent 527dc0f6af
commit 743dc638e9
2 changed files with 2 additions and 2 deletions
Vendored
+1 -1
View File
@@ -151,7 +151,7 @@ pipeline {
# 热重载
sshpass -p "\$SSH_PASS" ssh -o StrictHostKeyChecking=no \$SSH_USER@${cfg.deployHost} '
docker kill --signal=SIGHUP ${cfg.serviceName}
docker docker exec fangjia-script kill -SIGHUP 1
'
"""
} else {
@@ -3448,7 +3448,7 @@ public class AddressController {
headers.put("Content-Type", "application/json");
headers.put("Authorization", "Basic " + authenticationEncoding + "");
try {
String response = request.postWithBody("http://192.168.0.45:9200/association/_search", reqBody, headers, "UTF-8");
String response = request.postWithBody("http://192.168.0.206:9200/association/_search", reqBody, headers, "UTF-8");
JSONObject json = JSONObject.fromObject(response);
if (!json.containsKey("hits") || !json.getJSONObject("hits").containsKey("hits")) {
return Collections.emptyList();