@@ -39,4 +39,8 @@
<br>
**数据库数据说明**
--common_info 819 为AES秘钥SECRET_KEY,如无特殊情况请勿修改,修改后之前加密的数据无法解密
+- common_info 819 为AES秘钥SECRET_KEY,如无特殊情况请勿修改,修改后之前加密的数据无法解密
+
+**部署需要修改:**
+- application.yml --- static-locations: file:D:/JG/file/ 静态资源路径
+- WebMvcConfig --- addResourceLocations("file:/D:/JG/file/"); 静态资源路径
@@ -20,6 +20,7 @@ public class UserRealnameInfoServiceImpl extends ServiceImpl<UserRealnameInfoDao
baseMapper.updateById(userRealnameInfo);
}
+ @Override
public String maskIdKeepFront(String idCard) {
if (idCard != null && idCard.length() > 3) {
StringBuilder sb = new StringBuilder(idCard.substring(0, 3));
@@ -10,6 +10,9 @@ import javax.crypto.spec.SecretKeySpec;
import java.security.SecureRandom;
import java.util.Base64;
+/**
+ * AES CBC 加密解密
+ */
public class AESCBCWithRandomIV {
private static final String AES = "AES";