3D模型数据资源备份镜像批量处理

This commit is contained in:
momo 2023-11-21 14:34:45 +08:00
parent 5e1ba64e87
commit c1a164da7a

View File

@ -141,7 +141,9 @@ func (l *ResourceBackupLogic) ResourceBackup(req *types.ResourceBackupReq, useri
for k, v := range urls {
err := upload.UploadFileByUrl(k, v, 2)
if err != nil {
l.Logger.Errorf("更新文件镜像备份, err: %v, key: %v, val:%v", err, k, v)
l.Logger.Errorf("更新文件镜像备份失败, err: %v, key: %v, val:%v", err, k, v)
} else {
l.Logger.Infof("更新文件镜像备份成功, err: %v, key: %v, val:%v", err, k, v)
}
}
return resp.SetStatus(basic.CodeOK)