上传图片和附件路径调整为相对路径
This commit is contained in:
parent
158254b880
commit
90992c5990
@ -108,7 +108,8 @@ public class S3FileClient extends AbstractFileClient<S3FileClientConfig> {
|
||||
.stream(new ByteArrayInputStream(content), content.length, -1) // 文件内容
|
||||
.build());
|
||||
// 拼接返回路径
|
||||
return config.getDomain() + "/" + path;
|
||||
// return config.getDomain() + "/" + path;
|
||||
return config.getBucket() + "/" + path;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user