comment

package
v0.2.53 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	models.BaseModel

	CommentID   string `json:"comment_id"`   // 评论编号
	CommentType int    `json:"comment_type"` //

	UserId string // 评论者

	// 评论的对象
	ResType string
	ResID   string

	// 所有的评论都要带上这个ID
	GID string

	CommentContent string `json:"comment_content"` // 用户发布评论
}

Jump to

Keyboard shortcuts

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