青羊经侦大队-数据平台
安瑾然
2022-07-13 68985c22a03d280a96e89f4d0e67f144259fab92
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"));
    }
}