Browse Source

提交代码,显示模型。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.2^2^2
zouap 3 years ago
parent
commit
3b426c39b7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/storage/minio_ext.go

+ 3
- 3
modules/storage/minio_ext.go View File

@@ -187,9 +187,9 @@ func GetOneLevelAllObjectUnderDirMinio(bucket string, prefixRootPath string, rel
if val.Key == Prefix {
continue
}
if strings.Contains(val.Key[prefixLen:len(val.Key)-1], "/") {
continue
}
// if strings.Contains(val.Key[prefixLen:len(val.Key)-1], "/") {
// continue
// }
if strings.HasSuffix(val.Key, "/") {
isDir = true
fileName = val.Key[prefixLen : len(val.Key)-1]


Loading…
Cancel
Save