Vanessa 2024-03-02 00:18:08 +08:00
parent 11feb97194
commit 8d71b64ca9
2 changed files with 66 additions and 37 deletions

View file

@ -51,9 +51,9 @@ const (
)
type RelativeDate struct {
Count int // 数量
Unit RelativeDateUnit // 单位0 天、1 周、2 月、3 年
Direction RelativeDateDirection // 方向:-1 前、0 这、1 后
Count int `json:"count"` // 数量
Unit RelativeDateUnit `json:"unit"` // 单位0 天、1 周、2 月、3 年
Direction RelativeDateDirection `json:"direction"` // 方向:-1 前、0 这、1 后
}
type FilterOperator string