瀏覽代碼

fix:添加sql文件类型

zzf 1 年之前
父節點
當前提交
c4fd60f6d5
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 二進制
      AIT/VehicleClassification.exe
  2. 1 1
      AIT/common/utils.go

二進制
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