Merge branch 'feature-userinfo-daiyb' into dev

This commit is contained in:
戴育兵 2025-12-16 15:39:30 +08:00
commit 34a84bd481

View File

@ -69,7 +69,7 @@ func SecurityFile(textVal string) (bool, error) {
case ".mp4", ".avi", ".mov", ".wmv", ".flv", ".mkv":
fileInfo.FileType = "video"
default:
return false, errors.New("该类型无需安全检测")
return true, nil
}
err := securityScan(&fileInfo)
if err != nil {