소스 검색

添加备注
更新README说明

hjp 2 주 전
부모
커밋
00277b6a9f

+ 5 - 1
README.md

@@ -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/"); 静态资源路径

+ 1 - 0
src/main/java/com/sqx/modules/userRealnameInfo/service/impl/UserRealnameInfoServiceImpl.java

@@ -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));

+ 3 - 0
src/main/java/com/sqx/modules/utils/AESCBCWithRandomIV.java

@@ -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";