Updata:增加打印

This commit is contained in:
jiaji.H 2026-03-26 14:26:25 +08:00
parent dc42c16c68
commit 5ab417041d

View File

@ -457,7 +457,8 @@ func GetFileSecurityStatus(ctx *gin.Context) {
func isLikelyMP4(b []byte) bool {
fmt.Println("开始效验机器码")
if len(b) < 16 {
fmt.Println("len(b) < 16")
fmt.Println("len(b) < 16", len(b))
return false
}
// 只扫开头一段,避免性能问题;放宽到 8KB