fix encryptMobile

This commit is contained in:
2025-04-09 22:44:36 +08:00
parent f630c515e7
commit 735599db6d
2 changed files with 4 additions and 3 deletions

View File

@@ -54,7 +54,9 @@ func main() {
}
fmt.Println("异步任务启动!!!")
}()
go func() {
script.RunEncryptMobile()
}()
server := rest.MustNewServer(c.RestConf)
defer server.Stop()
@@ -62,6 +64,4 @@ func main() {
fmt.Printf("Starting server at %s:%d...\n", c.Host, c.Port)
server.Start()
script.RunEncryptMobile()
}