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
Reference in a new issue