|
|
|
@ -92,7 +92,7 @@ public class LocalServerLoginAccountsInterceptor extends HandlerInterceptorAdapt
|
|
|
|
|
} |
|
|
|
|
// 验证签名
|
|
|
|
|
String auth = suoFeiYaProperties.getAuth(); |
|
|
|
|
String md5Hex = MD5.create().digestHex(authTime + auth).toUpperCase(); |
|
|
|
|
String md5Hex = MD5.create().digestHex(auth + authTime).toUpperCase(); |
|
|
|
|
log.info("##########preHandle: md5Hex={}", md5Hex); |
|
|
|
|
if (!StrUtil.equals(md5Hex, sign)) { |
|
|
|
|
log.info("##########preHandle: 签名不正确"); |
|
|
|
|