Преглед на файлове

fix:添加sql文件类型

zzf преди 1 година
родител
ревизия
c4fd60f6d5
променени са 2 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. BIN
      AIT/VehicleClassification.exe
  2. 1 1
      AIT/common/utils.go

BIN
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