fix[用户中心]:用户头像查询逻辑优化

This commit is contained in:
2025-02-17 18:09:10 +08:00
parent 4b29eea3ac
commit c00d064ad8
8 changed files with 368 additions and 11 deletions
@@ -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;
}