소스 검색

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