fix(helper): use int64 for date -> easier use with golang time.Unix

This commit is contained in:
genofire 2023-03-12 20:59:51 +01:00
parent 0e4ee6fcf8
commit 8c7ccf7e9f
1 changed files with 3 additions and 3 deletions

View File

@ -9,9 +9,9 @@ import (
)
type Policy struct {
URLExpire int `json:"url_expire"`
URLActivate int `json:"url_activate,omitempty"`
StreamExpire int `json:"stream_expire,omitempty"`
URLExpire int64 `json:"url_expire"`
URLActivate int64 `json:"url_activate,omitempty"`
StreamExpire int64 `json:"stream_expire,omitempty"`
AllowIP string `json:"allow_ip,omitempty"`
}