浏览代码

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

plg 8 月之前
父节点
当前提交
d751d94943
共有 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