Documentation
¶
Index ¶
- type Blog
- func (b *Blog) BlogDelete(date, cover, image, label, labelType, index, blogId, cubeId string) (string, bool)
- func (b *Blog) BlogDetail(id string) (interface{}, bool)
- func (b *Blog) BlogForumGet(mode, page string) (interface{}, int64, bool)
- func (b *Blog) BlogGet(mode, page, label, labeltype string) (interface{}, int64, string, bool)
- func (b *Blog) BlogLike(id string) (string, bool)
- func (b *Blog) BlogProfileGet(ids string) interface{}
- func (b *Blog) BlogSearch(keyWord, page string) (int, interface{})
- func (b *Blog) BlogSend(cubeid, cover, title, content, text, images, label, labelType string) (string, bool)
- func (b *Blog) BlogView(id string) (string, bool)
- type DeleteBlog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blog ¶
type Blog struct { Id int CubeId string `orm:"index"` Cover string `orm:"type(text)"` Title string Content string `orm:"type(text)"` Text string `orm:"type(text)"` Image string `orm:"type(text)"` Date string `orm:"index;type(datetime)"` Label string LabelType string Love int Comment int Collect int View int }
func (*Blog) BlogDelete ¶
func (*Blog) BlogDetail ¶
func (*Blog) BlogForumGet ¶
func (*Blog) BlogProfileGet ¶
func (*Blog) BlogSearch ¶
Click to show internal directories.
Click to hide internal directories.