This commit is contained in:
aozhiwei 2024-06-16 19:11:51 +08:00
parent adfbf4c4dc
commit cd31ec576c

View File

@ -1,11 +1,11 @@
package cache package cache
import ( import (
"f5" "q5"
) )
type nft struct { type nft struct {
refreshTime int64 refreshTick int64
rawData string rawData string
jsonData interface{} jsonData interface{}
} }
@ -20,6 +20,6 @@ func (this *nft) GetJsonData() interface{} {
func newNft() *nft { func newNft() *nft {
p := new(nft) p := new(nft)
p.refreshTime = f5.GetApp().GetRealSeconds() p.refreshTick = q5.GetTickCount()
return p return p
} }