初始化项目

This commit is contained in:
2022-07-21 23:10:41 +08:00
parent 858ee66482
commit 05b77d99c7
16 changed files with 636 additions and 7 deletions

17
news.go Normal file
View File

@@ -0,0 +1,17 @@
package wxworkbot
type newsMessage struct {
message
News News `json:"news"`
}
type News struct {
Articles []NewsArticle `json:"articles"`
}
type NewsArticle struct {
Title string `json:"title"`
Description string `json:"description"`
URL string `json:"url"`
PicURL string `json:"picurl"`
}