Documentation ¶
Index ¶
- func BlogCommentRedisGet(id, page string) (interface{}, int64)
- type BlogComment
- func (bc *BlogComment) BlogCommentDelete(blogCommentId, cubeId, blogId, index string) (string, bool)
- func (bc *BlogComment) BlogCommentSend(blogid, cubeid, blogCubeId, comment string) (string, bool)
- func (bc *BlogComment) BlogCommonGet(blogid, page string) (interface{}, int64, bool)
- func (bc *BlogComment) BlogCommonLike(commentid, blogid, index, love string) (string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlogCommentRedisGet ¶
Types ¶
type BlogComment ¶
type BlogComment struct { Id int CubeId string `orm:"index"` BlogId int `orm:"index"` Comment string `orm:"type(text)"` Love int Date string `orm:"index;type(datetime)"` }
func (*BlogComment) BlogCommentDelete ¶
func (bc *BlogComment) BlogCommentDelete(blogCommentId, cubeId, blogId, index string) (string, bool)
func (*BlogComment) BlogCommentSend ¶
func (bc *BlogComment) BlogCommentSend(blogid, cubeid, blogCubeId, comment string) (string, bool)
func (*BlogComment) BlogCommonGet ¶
func (bc *BlogComment) BlogCommonGet(blogid, page string) (interface{}, int64, bool)
func (*BlogComment) BlogCommonLike ¶
func (bc *BlogComment) BlogCommonLike(commentid, blogid, index, love string) (string, bool)
Click to show internal directories.
Click to hide internal directories.