feat:七牛云上传
This commit is contained in:
1 parent
a5ff990b9e
commit
26c3629f7d
9 files changed
+205
-48
No files matched your search
+27
@@ -0,0 +1,27 @@
|
||||
package com.bsd.pjcloud.admin.api.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "qn")
|
||||
@Data
|
||||
public class QnOssConfig {
|
||||
|
||||
private Oss oss;
|
||||
|
||||
@Data
|
||||
public static class Oss {
|
||||
|
||||
private String accessKey;
|
||||
|
||||
private String secretKey;
|
||||
|
||||
private String bucketName;
|
||||
|
||||
private String domain;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package com.bsd.pjcloud.admin.api.vo.third;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class QnUploadVo {
|
||||
|
||||
public String fileHash;
|
||||
|
||||
public String fileName;
|
||||
|
||||
public String fullUrl;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user