feat(baidu_photo): optional delete album origin file (close #4872 in #4875)

This commit is contained in:
foxxorcat
2023-07-31 18:29:45 +08:00
committed by GitHub
parent ce0c3626c2
commit 9f08353d31
4 changed files with 12 additions and 4 deletions

View File

@ -69,3 +69,10 @@ func renameAlbum(album *Album, newName string) *Album {
Mtime: time.Now().Unix(),
}
}
func BoolToIntStr(b bool) string {
if b {
return "1"
}
return "0"
}