fix[用户中心]:用户头像查询逻辑优化
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ public class OssService extends AbstractIFileService {
|
||||
public String getViewUrl(String fileId) {
|
||||
FileInfo fileInfo = getFileInfo(fileId);
|
||||
if (fileInfo != null) {
|
||||
return ossTemplate.getViewUrl(fileInfo.getName());
|
||||
return ossTemplate.getViewUrl(fileInfo.getPath());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user