Merge branch 'feature-userinfo-daiyb' into dev
This commit is contained in:
commit
34a84bd481
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user