Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
1448e2d085
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      routers/api/v1/repo/cloudbrain.go

+ 0
- 3
routers/api/v1/repo/cloudbrain.go View File

@@ -268,9 +268,6 @@ func CloudBrainModelConvertList(ctx *context.APIContext) {

for i, fileInfo := range fileInfos {
temp, _ := time.Parse("2006-01-02 15:04:05", fileInfo.ModTime)
if fileInfos[i].FileName == fileInfos[i].ParenDir {
fileInfos[i].ParenDir = ""
}
fileInfos[i].ModTime = temp.Local().Format("2006-01-02 15:04:05")
}



Loading…
Cancel
Save