From 7ea5eece501c98a91555a5358931367e78e9d23b Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期四, 25 五月 2023 15:40:09 +0800
Subject: [PATCH] 11

---
 src/test/java/com/example/jz/JzApplicationTests.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/test/java/com/example/jz/JzApplicationTests.java b/src/test/java/com/example/jz/JzApplicationTests.java
index 9f2c6fa..12f05a2 100644
--- a/src/test/java/com/example/jz/JzApplicationTests.java
+++ b/src/test/java/com/example/jz/JzApplicationTests.java
@@ -1,5 +1,6 @@
 package com.example.jz;
 
+import com.example.jz.auth.DefaultPwdEncoder;
 import com.example.jz.config.MinIOConfig;
 import com.example.jz.service.MinIOService;
 import org.junit.jupiter.api.Test;
@@ -10,10 +11,18 @@
 class JzApplicationTests {
     @Autowired
     MinIOService minIOService;
+    @Autowired
+    DefaultPwdEncoder defaultPwdEncoder;
 
     @Test
     void contextLoads() {
         System.out.println(minIOService.getPreviewFileUrl("2fff006f3082f00e26d496dc0a47c624.png"));
     }
 
+
+    @Test
+    void test() {
+        System.out.println(defaultPwdEncoder.encode("qyjz2022!@#"));
+    }
+
 }

--
Gitblit v1.8.0