This commit is contained in:
laodaming
2023-07-03 17:33:59 +08:00
parent 5934017dbf
commit 22b27141a4
10 changed files with 332 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ import (
"time"
)
func GenPickUpTrackNum() string {
func GenSnNum() string {
a := fmt.Sprintf("%s%.8d", time.Now().Format("20060102150405.000"), rand.Intn(1000000))
return strings.ReplaceAll(a, ".", "")
}