Browse Source

feat:新增提示

zhangxinlei1996 1 year ago
parent
commit
87e2108a72
2 changed files with 5 additions and 0 deletions
  1. BIN
      fileUploadCount/fileUploadCount.exe
  2. 5 0
      fileUploadCount/main.go

BIN
fileUploadCount/fileUploadCount.exe


+ 5 - 0
fileUploadCount/main.go

@@ -2,6 +2,7 @@ package main
 
 import (
 	"flag"
+	"log"
 )
 
 var (
@@ -18,6 +19,10 @@ func main() {
 
 	flag.Parse()
 
+	if *date == "" {
+		log.Println("检查参数,年月日,例如,2024_04")
+		return
+	}
 	Statistics()
 
 }