Documentation ¶
Index ¶
- func GetBBSArticles() (preForumPost []po.PreForumPost)
- func QueryBBSByKeyword(keyword string) []*po.MinaArticle
- type Article
- type Carousel
- type ListArticleReq
- type ListArticleResp
- type ListCarouselReq
- type ListCarouselResp
- type ListNoticeReq
- type ListNoticeResp
- type ListSquareReq
- type ListSquareResp
- type Notice
- type QQRobotQueryReq
- type QQRobotQueryResp
- type QueryArticleReq
- type QueryArticleResp
- type Square
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBBSArticles ¶
func GetBBSArticles() (preForumPost []po.PreForumPost)
func QueryBBSByKeyword ¶
func QueryBBSByKeyword(keyword string) []*po.MinaArticle
Types ¶
type Article ¶
type Article struct { ID uint `json:"id"` Title string `json:"title"` Content string `json:"content"` Flag uint `json:"flag"` CreatedBy uint `json:"created_by"` CreatedAt time.Time `json:"created_at"` }
func FromPoArticle ¶
func FromPoArticles ¶
type Carousel ¶
type Carousel struct { ID uint `json:"id"` Href string `json:"href"` Image string `json:"image"` Title string `json:"title"` Flag uint `json:"flag"` Status uint `json:"status"` }
func FromPoCarousel ¶
func FromPoCarousels ¶
func ListCarousel ¶
func ListCarousel() []*Carousel
type ListArticleReq ¶
type ListArticleReq struct { }
type ListArticleResp ¶
type ListArticleResp struct { Result []*Article `json:"result"` CurPage uint `json:"curPage"` PageSize uint `json:"pageSize"` Totals uint `json:"totals"` }
Article []*string `json:"Article"`
func ListArticle ¶
func ListArticle() *ListArticleResp
type ListCarouselReq ¶
type ListCarouselReq struct { }
type ListCarouselResp ¶
type ListCarouselResp struct {
Square []Square
}
type ListNoticeReq ¶
type ListNoticeReq struct { }
type ListNoticeResp ¶
type ListNoticeResp struct {
Square []Square
}
type ListSquareReq ¶
type ListSquareReq struct { }
type ListSquareResp ¶
type ListSquareResp struct {
Square []Square
}
type Notice ¶
type Notice struct { ID uint `json:"id"` Href string `json:"href"` Content string `json:"content"` Flag uint `json:"flag"` Status uint `json:"status"` }
func FromPoNotice ¶
func FromPoNotices ¶
func ListNotice ¶
func ListNotice() []*Notice
type QQRobotQueryReq ¶
type QQRobotQueryResp ¶
type QQRobotQueryResp string
type QueryArticleReq ¶
type QueryArticleReq struct { }
type QueryArticleResp ¶
type QueryArticleResp struct {
Article []*string `json:"Article"`
}
type Square ¶
type Square struct { ID uint `json:"id"` TagTypeID uint `json:"tag_type_id"` Status int `json:"status"` Sort uint `json:"sort"` CreateUser uint `json:"create_user"` Title string `json:"Title"` Name string `json:"name"` Image string `json:"image"` Flag uint `json:"flag"` }
func FromPoSquare ¶
func FromPoSquares ¶
func ListSquare ¶
func ListSquare() []*Square
Click to show internal directories.
Click to hide internal directories.