吉安感知网项目-后端
xiebin
2026-01-06 d207a86cdf1ab52ef8cb7cd83bad8fceab8038cf
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
26
27
28
29
30
package org.sxkj.resource.model;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
 
@Configuration
@Data
public class MinioPojo {
    @Value("${oss.endpoint}")
    private String endpoint;
 
    @Value("${oss.access-key}")
    private String accessKey;
 
    @Value("${oss.secret-key}")
    private String secretKey;
 
    @Value("${oss.bucket}")
    private String bucket;
 
    @Value("${oss.minio-path}")
    private String path;
 
    @Value("${media.server-address}")
    private String serverAddress;
    @Value("${oss.out-net-file-address}")
    private String outNetAddress;
 
}