代码优化-清理臃肿的前朝遗物代码

This commit is contained in:
2023-01-17 14:37:37 +08:00
parent 26e78a2753
commit 18b52a1214
281 changed files with 46 additions and 24598 deletions

View File

@@ -6,7 +6,7 @@ import com.accompany.common.constant.ApplicationConstant;
import com.accompany.common.redis.RedisKey;
import com.accompany.common.utils.IPUitls;
import com.accompany.common.utils.StringUtils;
import com.accompany.common.wx.MD5;
import com.accompany.core.util.MD5;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -98,7 +98,7 @@ public class SecurityInterceptor extends BasicInterceptor {
}
builder.append("&key=").append(KeyStore.DES_ENCRYPT_KEY_SMS_PARAMS);
String serverSign = MD5.MD5Encode(builder.toString());
String serverSign = MD5.getMD5(builder.toString());
Matcher matcher = pattern.matcher(serverSign);
serverSign = matcher.replaceAll("");