From 9afac979c2a0747433d7d318293036b11c1755c0 Mon Sep 17 00:00:00 2001 From: zhaoqiaobo <583671871@qq.com> Date: Thu, 26 Dec 2024 17:30:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E7=B4=A2=E8=8F=B2=E4=BA=9A?= =?UTF-8?q?=E5=B7=A5=E5=8E=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 增加华之韵物流对接 --- .../interceptor/LocalServerLoginAccountsInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java index c196826a9..68089e4de 100644 --- a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java +++ b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java @@ -90,7 +90,7 @@ public class LocalServerLoginAccountsInterceptor extends HandlerInterceptorAdapt } // 验证签名 String auth = suoFeiYaProperties.getAuth(); - String md5Hex = new String(MD5.create().digest(authTime + auth)).toUpperCase(); + String md5Hex = MD5.create().digestHex(authTime + auth).toUpperCase(); log.info("##########preHandle: md5Hex={}", md5Hex); if (!StrUtil.equals(md5Hex, sign)) { returnJson(response, JSONObject.toJSONString(R.fail(1, "认证不通过,签名不正确")));