controllers

package
v0.0.0-...-0e8c758 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentController

type CommentController struct {
	beego.Controller
}

func (*CommentController) AddOrUpdateContent

func (c *CommentController) AddOrUpdateContent()

************************************** * Post

{
	"ProdId":"123",
	"Content":"I feel greate",
}

"CommentId":<int>, if value is provided, this is an update action ***************************************

func (*CommentController) BatchGetByProdId

func (c *CommentController) BatchGetByProdId()

************************************** * Batch Get page by page ***************************************

func (*CommentController) CreateTable

func (c *CommentController) CreateTable()

func (*CommentController) Delete

func (c *CommentController) Delete()

************************************** * Delete ***************************************

func (*CommentController) Get

func (c *CommentController) Get()

************************************** * Get ***************************************

func (*CommentController) ReadPageParams

func (c *CommentController) ReadPageParams() (string, int64, int32)

func (*CommentController) ReadParams

func (base *CommentController) ReadParams() (string, int64)

func (*CommentController) ReadProdId

func (base *CommentController) ReadProdId() string

func (*CommentController) RespondError

func (base *CommentController) RespondError(statusCode int, message ...string)

Jump to

Keyboard shortcuts

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