青羊经侦大队-数据平台
安瑾然
2022-07-14 5b04d19edea32888efa9ee4881395a21da348e3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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() {
 
    }
 
}