feat:修复景区素材不显示bug
This commit is contained in:
@@ -148,8 +148,7 @@ public class S3Service extends AbstractIFileService {
|
||||
@Override
|
||||
public String getS3UrlByPath(String path) {
|
||||
try {
|
||||
S3Object s3Object = parsePath(path);
|
||||
return s3Template.getViewUrlNoExpires(s3Object.bucketName, s3Object.objectName);
|
||||
return s3Template.getViewUrlNoExpires(path);
|
||||
} catch (Exception e) {
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user