blogcomment

package
v0.0.0-...-983cbdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlogCommentRedisGet

func BlogCommentRedisGet(id, page string) (interface{}, int64)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL