File tree 1 file changed +6
-6
lines changed
continew-admin-system/src/main/java/top/continew/admin/system/model/entity
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public class FileDO extends BaseDO {
74
74
/**
75
75
* 缩略图URL
76
76
*/
77
- private String thumbnailUrl ;
77
+ private String thumbnailUrl ;
78
78
79
79
/**
80
80
* 存储 ID
@@ -91,16 +91,16 @@ public FileInfo toFileInfo(String storageCode) {
91
91
FileInfo fileInfo = new FileInfo ();
92
92
fileInfo .setOriginalFilename (StrUtils
93
93
.blankToDefault (this .extension , this .name , ex -> this .name + StringConstants .DOT + ex ));
94
- fileInfo .setSize (this .size );
94
+ fileInfo .setSize (this .size );
95
95
fileInfo .setUrl (this .url );
96
96
fileInfo .setExt (this .extension );
97
97
fileInfo .setBasePath (StringConstants .EMPTY );
98
98
fileInfo .setPath (StringConstants .EMPTY );
99
- fileInfo .setFilename (URLUtils .isHttpUrl (this .url )
100
- ? StrUtil .subAfter (this .url , StringConstants .SLASH , true )
99
+ fileInfo .setFilename (URLUtils .isHttpUrl (this .url )
100
+ ? StrUtil .subAfter (this .url , StringConstants .SLASH , true )
101
101
: this .url );
102
- fileInfo .setThFilename (this .thumbnailUrl );
103
- fileInfo .setPlatform (storageCode );
102
+ fileInfo .setThFilename (this .thumbnailUrl );
103
+ fileInfo .setPlatform (storageCode );
104
104
return fileInfo ;
105
105
}
106
106
}
You can’t perform that action at this time.
0 commit comments