mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
a3548499be
1 changed files with 4 additions and 0 deletions
|
|
@ -199,6 +199,10 @@ func GetAnnouncements() (ret []*Announcement) {
|
|||
return
|
||||
}
|
||||
|
||||
if nil == result["announcement"] {
|
||||
return
|
||||
}
|
||||
|
||||
announcements := result["announcement"].([]interface{})
|
||||
for _, announcement := range announcements {
|
||||
ann := announcement.(map[string]interface{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue