From caaa6ec6ee809b1c9e56600ba1468e8f4da0103b Mon Sep 17 00:00:00 2001
From: whj <1070107765@qq.com>
Date: 星期二, 19 七月 2022 15:39:15 +0800
Subject: [PATCH] commit

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

diff --git a/src/test/java/com/example/jz/JzApplicationTests.java b/src/test/java/com/example/jz/JzApplicationTests.java
index 1e2ca8a..8d887ac 100644
--- a/src/test/java/com/example/jz/JzApplicationTests.java
+++ b/src/test/java/com/example/jz/JzApplicationTests.java
@@ -1,13 +1,25 @@
 package com.example.jz;
 
+import com.example.jz.config.MinIOConfig;
+import com.example.jz.service.MinIOService;
 import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.test.context.SpringBootTest;
 
 @SpringBootTest
 class JzApplicationTests {
+    @Autowired
+    MinIOService minIOService;
 
     @Test
     void contextLoads() {
+        System.out.println(minIOService.getPreviewFileUrl("2fff006f3082f00e26d496dc0a47c624.png"));
+    }
+
+
+    @Test
+    void test() {
+
     }
 
 }

--
Gitblit v1.8.0