Compare commits

..

No commits in common. "main" and "v0.0.56" have entirely different histories.

1 changed files with 3 additions and 3 deletions

View File

@ -69,13 +69,13 @@ func init() {
}
func WatchCheckLicence(licPath, licName string) {
utils.SetInterval(func() {
for {
if CheckLicence(licPath, licName) == false {
log.Println("授权文件失效,请重新部署授权文件:", licPath)
os.Exit(99)
}
}, time.Hour*1)
time.Sleep(time.Hour * 1)
}
}
// --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------