Jelajahi Sumber

Merge branch 'master' of http://101.43.129.26:10880/AI/VehicleClassification

plg 8 bulan lalu
induk
melakukan
d751d94943
2 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. TEMPAT SAMPAH
      AIT/VehicleClassification.exe
  2. 1 1
      AIT/common/utils.go

TEMPAT SAMPAH
AIT/VehicleClassification.exe


+ 1 - 1
AIT/common/utils.go

@@ -22,7 +22,7 @@ func GenerateUUID() string {
 // CheckFile 检查文件扩展名
 func CheckFile(fileName string) string {
 
-	fileNames := []string{"json", "txt", "wav", "npy", "xlsx", "xls"}
+	fileNames := []string{"json", "txt", "wav", "npy", "xlsx", "xls", "sql"}
 	for _, temp := range fileNames {
 		if strings.HasSuffix(strings.ToLower(fileName), temp) {
 			return temp