Documentation ¶
Overview ¶
Package bknotice provides bknotice client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Announcement ¶
type Announcement struct { ID int `json:"id"` Title string `json:"title"` Content string `json:"content"` ContentList []AnnouncementContent `json:"content_list"` AnnounceType string `json:"announce_type"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` }
Announcement 通知中心公告
func GetCurrentAnnouncements ¶
func GetCurrentAnnouncements(ctx context.Context, lang string) ([]Announcement, error)
GetCurrentAnnouncements 获取系统当前通知
type AnnouncementContent ¶
type AnnouncementContent struct { Content string `json:"content"` Language string `json:"language"` }
AnnouncementContent 通知中心公告内容,包括语言和内容
Click to show internal directories.
Click to hide internal directories.