From 77e4741346fb02d5a1f845b89f681a56d06dad0e Mon Sep 17 00:00:00 2001 From: 安瑾然 <107107765@qq.com> Date: 星期二, 12 七月 2022 14:59:29 +0800 Subject: [PATCH] minio接口修正,宣传、常见问题接口开发 --- src/test/java/com/example/jz/JzApplicationTests.java | 6 ++++++ 1 files changed, 6 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..9f2c6fa 100644 --- a/src/test/java/com/example/jz/JzApplicationTests.java +++ b/src/test/java/com/example/jz/JzApplicationTests.java @@ -1,13 +1,19 @@ 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")); } } -- Gitblit v1.8.0