fix(helper): use int64 for date -> easier use with golang time.Unix
This commit is contained in:
parent
0e4ee6fcf8
commit
8c7ccf7e9f
|
@ -9,9 +9,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Policy struct {
|
type Policy struct {
|
||||||
URLExpire int `json:"url_expire"`
|
URLExpire int64 `json:"url_expire"`
|
||||||
URLActivate int `json:"url_activate,omitempty"`
|
URLActivate int64 `json:"url_activate,omitempty"`
|
||||||
StreamExpire int `json:"stream_expire,omitempty"`
|
StreamExpire int64 `json:"stream_expire,omitempty"`
|
||||||
AllowIP string `json:"allow_ip,omitempty"`
|
AllowIP string `json:"allow_ip,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue