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, "认证不通过,签名不正确")));