This commit is contained in:
aozhiwei 2024-06-16 18:57:36 +08:00
parent 17ad4ccfb1
commit adfbf4c4dc

View File

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