liu %!s(int64=3) %!d(string=hai) anos
pai
achega
ac2749a9cb
Modificáronse 48 ficheiros con 1596 adicións e 0 borrados
  1. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/CommonResult.class
  2. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/EmsExceptionHandler.class
  3. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/PlaybackRecordController.class
  4. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/PlaybackRecordControllerAPI.class
  5. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SendController.class
  6. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SendSms.class
  7. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SmsCodeController.class
  8. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SmsCodeControllerAPI.class
  9. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SystemUserServiceImpl.class
  10. 471 0
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/shelved.patch
  11. 49 0
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30__Default_Changelist_.xml
  12. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/CommonResult.class
  13. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/MybatisPlusApplication.class
  14. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SendController.class
  15. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SendSms.class
  16. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SystemUserServiceImpl.class
  17. 264 0
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/shelved.patch
  18. 29 0
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24__Default_Changelist_.xml
  19. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/CommonResult.class
  20. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/MybatisPlusApplication.class
  21. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SendController.class
  22. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SendSms.class
  23. BIN=BIN
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SystemUserServiceImpl.class
  24. 158 0
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/shelved.patch
  25. 29 0
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31__Default_Changelist_.xml
  26. 217 0
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_25_10_43_[Default_Changelist]/shelved.patch
  27. 4 0
      .idea/shelf/Uncommitted_changes_before_Update_at_2023_4_25_10_43__Default_Changelist_.xml
  28. 3 0
      .idea/workspace.xml
  29. 222 0
      hs_err_pid5336.log
  30. BIN=BIN
      target/classes/com/video/config/MySecurity.class
  31. BIN=BIN
      target/classes/com/video/model/vo/LoginVO.class
  32. BIN=BIN
      target/classes/common/utils/AesUtils.class
  33. BIN=BIN
      target/classes/common/utils/CommonUtil.class
  34. BIN=BIN
      target/classes/common/utils/EncryptionUtil.class
  35. BIN=BIN
      target/classes/common/utils/JWTUtil.class
  36. BIN=BIN
      target/classes/common/utils/RSAUtils.class
  37. 5 0
      target/classes/mapper/video/SmsCodeMapper.xml
  38. 3 0
      target/maven-archiver/pom.properties
  39. 2 0
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
  40. 2 0
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
  41. BIN=BIN
      target/mybatis_plus-0.0.1-SNAPSHOT.jar
  42. BIN=BIN
      target/mybatis_plus-0.0.1-SNAPSHOT.jar.original
  43. 65 0
      target/surefire-reports/TEST-com.video.MybatisPlusApplicationTests.xml
  44. 65 0
      target/surefire-reports/TEST-com.video.WrapperTest.xml
  45. 4 0
      target/surefire-reports/com.video.MybatisPlusApplicationTests.txt
  46. 4 0
      target/surefire-reports/com.video.WrapperTest.txt
  47. BIN=BIN
      target/test-classes/com/video/MybatisPlusApplicationTests.class
  48. BIN=BIN
      target/test-classes/com/video/WrapperTest.class

BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/CommonResult.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/EmsExceptionHandler.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/PlaybackRecordController.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/PlaybackRecordControllerAPI.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SendController.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SendSms.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SmsCodeController.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SmsCodeControllerAPI.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SystemUserServiceImpl.class


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 471 - 0
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/shelved.patch


+ 49 - 0
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30__Default_Changelist_.xml

@@ -0,0 +1,49 @@
+<changelist name="Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]" date="1682044237897" recycled="false" toDelete="true">
+  <option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/shelved.patch" />
+  <option name="DESCRIPTION" value="Uncommitted changes before Update at 2023/4/21 10:30 [Default Changelist]" />
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/controller/PlaybackRecordController.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/controller/PlaybackRecordController.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/PlaybackRecordController.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/common/utils/SendSms.class" />
+    <option name="AFTER_PATH" value="target/classes/common/utils/SendSms.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SendSms.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/api/SmsCodeControllerAPI.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/api/SmsCodeControllerAPI.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SmsCodeControllerAPI.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/controller/SendController.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/controller/SendController.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SendController.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/api/PlaybackRecordControllerAPI.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/api/PlaybackRecordControllerAPI.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/PlaybackRecordControllerAPI.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/common/exception/EmsExceptionHandler.class" />
+    <option name="AFTER_PATH" value="target/classes/common/exception/EmsExceptionHandler.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/EmsExceptionHandler.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/services/impl/SystemUserServiceImpl.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/services/impl/SystemUserServiceImpl.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SystemUserServiceImpl.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/controller/SmsCodeController.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/controller/SmsCodeController.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/SmsCodeController.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/model/utils/CommonResult.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/model/utils/CommonResult.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_10_30_[Default_Changelist]/CommonResult.class" />
+  </binary>
+</changelist>

BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/CommonResult.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/MybatisPlusApplication.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SendController.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SendSms.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SystemUserServiceImpl.class


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 264 - 0
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/shelved.patch


+ 29 - 0
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24__Default_Changelist_.xml

@@ -0,0 +1,29 @@
+<changelist name="Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]" date="1682040279414" recycled="true" deleted="true">
+  <option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/shelved.patch" />
+  <option name="DESCRIPTION" value="Uncommitted changes before Update at 2023/4/21 9:24 [Default Changelist]" />
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/common/utils/SendSms.class" />
+    <option name="AFTER_PATH" value="target/classes/common/utils/SendSms.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SendSms.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/services/impl/SystemUserServiceImpl.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/services/impl/SystemUserServiceImpl.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SystemUserServiceImpl.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/MybatisPlusApplication.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/MybatisPlusApplication.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/MybatisPlusApplication.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/controller/SendController.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/controller/SendController.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/SendController.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/model/utils/CommonResult.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/model/utils/CommonResult.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_24_[Default_Changelist]/CommonResult.class" />
+  </binary>
+</changelist>

BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/CommonResult.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/MybatisPlusApplication.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SendController.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SendSms.class


BIN=BIN
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SystemUserServiceImpl.class


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 158 - 0
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/shelved.patch


+ 29 - 0
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31__Default_Changelist_.xml

@@ -0,0 +1,29 @@
+<changelist name="Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]" date="1682040692341" recycled="false" toDelete="true">
+  <option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/shelved.patch" />
+  <option name="DESCRIPTION" value="Uncommitted changes before Update at 2023/4/21 9:31 [Default Changelist]" />
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/common/utils/SendSms.class" />
+    <option name="AFTER_PATH" value="target/classes/common/utils/SendSms.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SendSms.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/services/impl/SystemUserServiceImpl.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/services/impl/SystemUserServiceImpl.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SystemUserServiceImpl.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/MybatisPlusApplication.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/MybatisPlusApplication.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/MybatisPlusApplication.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/controller/SendController.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/controller/SendController.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/SendController.class" />
+  </binary>
+  <binary>
+    <option name="BEFORE_PATH" value="target/classes/com/video/model/utils/CommonResult.class" />
+    <option name="AFTER_PATH" value="target/classes/com/video/model/utils/CommonResult.class" />
+    <option name="SHELVED_PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_21_9_31_[Default_Changelist]/CommonResult.class" />
+  </binary>
+</changelist>

+ 217 - 0
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_25_10_43_[Default_Changelist]/shelved.patch

@@ -0,0 +1,217 @@
+Index: src/main/java/common/utils/AesUtils.java
+IDEA additional info:
+Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
+<+>UTF-8
+===================================================================
+diff --git a/src/main/java/common/utils/AesUtils.java b/src/main/java/common/utils/AesUtils.java
+new file mode 100644
+--- /dev/null	(date 1682390438657)
++++ b/src/main/java/common/utils/AesUtils.java	(date 1682390438657)
+@@ -0,0 +1,207 @@
++package common.utils;
++
++import lombok.extern.slf4j.Slf4j;
++import org.bouncycastle.util.encoders.Base64;
++
++import javax.crypto.BadPaddingException;
++import javax.crypto.Cipher;
++import javax.crypto.IllegalBlockSizeException;
++import javax.crypto.NoSuchPaddingException;
++import javax.crypto.spec.SecretKeySpec;
++import java.security.InvalidKeyException;
++import java.security.NoSuchAlgorithmException;
++
++/**
++ * @Author: liujun
++ * @Description: Aes 加解密算法
++ * @Date Create in 上午 9:38$ 2017/12/26 0026$
++ * @Modify By:
++ */
++@Slf4j
++public class AesUtils {
++    /**
++     * @Author liujun
++     * @Description:
++     * @params: * @param content 需要加密的内容
++     * @param password  加密密码
++     * @Date 上午 9:41 2017/12/26 0026
++     */
++
++    public static String encrypt(String content, String password) {
++        //数据为空,不需要进行加解密,否则会出现空指针异常
++
++
++        if(password.length()<16) {
++            password = password + "0000000000000000".substring(0, 16-password.length());
++        }
++        else if(password.length()>16) {
++            password = password.substring(0, 16);
++        }
++
++        return bytes2HexString(encryptAES(content.getBytes(), password.getBytes()));
++    }
++
++
++    /**
++     * @Author liujun
++     * @Description:
++     * @params: * @param content 待解密内容
++     * @param password 解密密钥
++     * @Date 上午 9:40 2017/12/26 0026
++     */
++    public static String decrypt(String content, String password) {
++        //数据为空,不需要进行加解密,否则会出现空指针异常
++//        if(StringUtil.isEmpty(content)) {
++//            return null;
++//        }
++
++        if(password.length()<16) {
++            password = password + "0000000000000000".substring(0, 16-password.length());
++        }
++        else if(password.length()>16) {
++            password = password.substring(0, 16);
++        }
++
++        return new String(decryptAES(hexString2Bytes(content), password.getBytes()));
++    }
++
++    /**
++     * AES 加密
++     *
++     * @param data 明文
++     * @param key  16、24、32 字节秘钥
++     * @return 密文
++     */
++    public static byte[] encryptAES(final byte[] data,
++                                    final byte[] key) {
++
++        try {
++            SecretKeySpec secretKeySpec = new SecretKeySpec(key, "AES");
++            Cipher cipher = Cipher.getInstance("AES");// 创建密码器
++            byte[] byteContent = data;
++            cipher.init(Cipher.ENCRYPT_MODE, secretKeySpec);// 初始化
++            byte[] result = cipher.doFinal(byteContent);
++            return result; // 加密
++        } catch (NoSuchAlgorithmException e) {
++            log.error(e.getMessage(),e);
++        } catch (NoSuchPaddingException e) {
++            log.error(e.getMessage(),e);
++        } catch (InvalidKeyException e) {
++            log.error(e.getMessage(),e);
++        } catch (IllegalBlockSizeException e) {
++            log.error(e.getMessage(),e);
++        } catch (BadPaddingException e) {
++            log.error(e.getMessage(),e);
++        } catch (Exception e) {
++            log.error(e.getMessage(),e);
++        }
++        return null;
++    }
++
++    /**
++     * AES 解密
++     *
++     * @param data 密文
++     * @param key  16、24、32 字节秘钥
++     * @return 明文
++     */
++    public static byte[] decryptAES(final byte[] data,
++                                    final byte[] key) {
++
++        try {
++            SecretKeySpec secretKeySpec = new SecretKeySpec(key, "AES");
++            Cipher cipher = Cipher.getInstance("AES");// 创建密码器
++            cipher.init(Cipher.DECRYPT_MODE, secretKeySpec);// 初始化
++            byte[] result = cipher.doFinal(data);
++            return result; // 加密
++        } catch (NoSuchAlgorithmException e) {
++            log.error(e.getMessage(),e);
++        } catch (NoSuchPaddingException e) {
++            log.error(e.getMessage(),e);
++        } catch (InvalidKeyException e) {
++            log.error(e.getMessage(),e);
++        } catch (IllegalBlockSizeException e) {
++            log.error(e.getMessage(),e);
++        } catch (BadPaddingException e) {
++            log.error(e.getMessage(),e);
++        } catch (Exception e) {
++            log.error(e.getMessage(),e);
++        }
++        return null;
++    }
++
++    public static String bytes2HexString(final byte[] bytes) {
++        if (bytes == null) {
++            return null;
++        }
++        int len = bytes.length;
++        if (len <= 0) {
++            return null;
++        }
++        char[] ret = new char[len << 1];
++        for (int i = 0, j = 0; i < len; i++) {
++            ret[j++] = hexDigits[bytes[i] >>> 4 & 0x0f];
++            ret[j++] = hexDigits[bytes[i] & 0x0f];
++        }
++        return new String(ret);
++    }
++
++    private static final char hexDigits[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
++
++    public static byte[] hexString2Bytes(String hexString) {
++        if (isSpace(hexString)) {
++            return null;
++        }
++        int len = hexString.length();
++        if (len % 2 != 0) {
++            hexString = "0" + hexString;
++            len = len + 1;
++        }
++        char[] hexBytes = hexString.toUpperCase().toCharArray();
++        byte[] ret = new byte[len >> 1];
++        for (int i = 0; i < len; i += 2) {
++            ret[i >> 1] = (byte) (hex2Dec(hexBytes[i]) << 4 | hex2Dec(hexBytes[i + 1]));
++        }
++        return ret;
++    }
++
++    private static int hex2Dec(final char hexChar) {
++        if (hexChar >= '0' && hexChar <= '9') {
++            return hexChar - '0';
++        } else if (hexChar >= 'A' && hexChar <= 'F') {
++            return hexChar - 'A' + 10;
++        } else {
++            throw new IllegalArgumentException();
++        }
++    }
++
++    public static byte[] base64Encode(final byte[] input) {
++        return Base64.encode(input);
++    }
++
++    public static byte[] base64Decode(final byte[] input) {
++
++        return Base64.decode(input);
++    }
++
++    private static boolean isSpace(final String s) {
++        if (s == null) {
++            return true;
++        }
++        for (int i = 0, len = s.length(); i < len; ++i) {
++            if (!Character.isWhitespace(s.charAt(i))) {
++                return false;
++            }
++        }
++        return true;
++    }
++
++    public static void main(String[] args) {
++        //加密
++        String encryptString = AesUtils.encrypt("123456", "00000000000000000000000000000000");
++        System.out.println("加密后字符串:"+encryptString);
++        //解密
++        String decryptString = AesUtils.decrypt(encryptString, "00000000000000000000000000000000");
++        System.out.println("解密后字符串:"+decryptString);
++    }
++}

+ 4 - 0
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_25_10_43__Default_Changelist_.xml

@@ -0,0 +1,4 @@
+<changelist name="Uncommitted_changes_before_Update_at_2023_4_25_10_43_[Default_Changelist]" date="1682390580343" recycled="false" toDelete="true">
+  <option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_25_10_43_[Default_Changelist]/shelved.patch" />
+  <option name="DESCRIPTION" value="Uncommitted changes before Update at 2023/4/25 10:43 [Default Changelist]" />
+</changelist>

+ 3 - 0
.idea/workspace.xml

@@ -150,6 +150,9 @@
       <select />
       <select />
     </treeState>
     </treeState>
   </component>
   </component>
+  <component name="ProblemsViewState">
+    <option name="selectedTabId" value="ProjectErrors" />
+  </component>
   <component name="ProjectFrameBounds" extendedState="6">
   <component name="ProjectFrameBounds" extendedState="6">
     <option name="x" value="-7" />
     <option name="x" value="-7" />
     <option name="width" value="974" />
     <option name="width" value="974" />

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 222 - 0
hs_err_pid5336.log


BIN=BIN
target/classes/com/video/config/MySecurity.class


BIN=BIN
target/classes/com/video/model/vo/LoginVO.class


BIN=BIN
target/classes/common/utils/AesUtils.class


BIN=BIN
target/classes/common/utils/CommonUtil.class


BIN=BIN
target/classes/common/utils/EncryptionUtil.class


BIN=BIN
target/classes/common/utils/JWTUtil.class


BIN=BIN
target/classes/common/utils/RSAUtils.class


+ 5 - 0
target/classes/mapper/video/SmsCodeMapper.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.video.mapper.SmsCodeMapper">
+
+</mapper>

+ 3 - 0
target/maven-archiver/pom.properties

@@ -0,0 +1,3 @@
+artifactId=mybatis_plus
+groupId=com.video
+version=0.0.1-SNAPSHOT

+ 2 - 0
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst

@@ -0,0 +1,2 @@
+com\video\MybatisPlusApplicationTests.class
+com\video\WrapperTest.class

+ 2 - 0
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

@@ -0,0 +1,2 @@
+E:\company\video_share\Back-endDevelopmentFramework\src\test\java\com\video\MybatisPlusApplicationTests.java
+E:\company\video_share\Back-endDevelopmentFramework\src\test\java\com\video\WrapperTest.java

BIN=BIN
target/mybatis_plus-0.0.1-SNAPSHOT.jar


BIN=BIN
target/mybatis_plus-0.0.1-SNAPSHOT.jar.original


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 65 - 0
target/surefire-reports/TEST-com.video.MybatisPlusApplicationTests.xml


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 65 - 0
target/surefire-reports/TEST-com.video.WrapperTest.xml


+ 4 - 0
target/surefire-reports/com.video.MybatisPlusApplicationTests.txt

@@ -0,0 +1,4 @@
+-------------------------------------------------------------------------------
+Test set: com.video.MybatisPlusApplicationTests
+-------------------------------------------------------------------------------
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.107 s - in com.video.MybatisPlusApplicationTests

+ 4 - 0
target/surefire-reports/com.video.WrapperTest.txt

@@ -0,0 +1,4 @@
+-------------------------------------------------------------------------------
+Test set: com.video.WrapperTest
+-------------------------------------------------------------------------------
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.video.WrapperTest

BIN=BIN
target/test-classes/com/video/MybatisPlusApplicationTests.class


BIN=BIN
target/test-classes/com/video/WrapperTest.class