This commit is contained in:
Daniel 2025-08-21 10:55:31 +08:00
parent 6803c6483e
commit 599cf0cf46
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 13 additions and 9 deletions

View file

@ -374,11 +374,11 @@ func (value *Value) GetValByType(typ KeyType) (ret interface{}) {
}
type ValueBlock struct {
ID string `json:"id"` // 绑定的块 ID非绑定块时为空
Icon string `json:"icon"`
ID string `json:"id,omitempty"` // 绑定的块 ID非绑定块时为空
Icon string `json:"icon,omitempty"`
Content string `json:"content"`
Created int64 `json:"created"`
Updated int64 `json:"updated"`
Created int64 `json:"created,omitempty"`
Updated int64 `json:"updated,omitempty"`
}
type ValueText struct {