refactor(sis): 1
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m19s
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m19s
This commit is contained in:
parent
2a143bb147
commit
2103be1de5
@ -65,7 +65,7 @@ public class E8ApiUtil {
|
||||
|
||||
// 对请求体进行Base64加密,指定UTF-8编码,避免乱码
|
||||
String base64Body = Base64.getEncoder().encodeToString(jsonBody.getBytes(StandardCharsets.UTF_8));
|
||||
log.info("请求地址:url: {}", url);
|
||||
log.info("e8POST请求地址:url: {}", url);
|
||||
// 发送请求获取响应
|
||||
// 使用 try-with-resources 确保资源释放
|
||||
try (HttpResponse response = HttpRequest.post(url)
|
||||
@ -93,7 +93,7 @@ public class E8ApiUtil {
|
||||
String sign = getGetSign(api, timestamp);
|
||||
// url
|
||||
String url = BASE_URL + api;
|
||||
log.info("请求地址:url: {}", url);
|
||||
log.info("e8GET/DEL请求地址:url: {}", url);
|
||||
|
||||
if (isDelete) {
|
||||
// 发送请求获取响应
|
||||
|
Loading…
Reference in New Issue
Block a user