api

package
v0.0.0-...-d537b8a Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePicture

func CreatePicture(c echo.Context) error

CreatePicture 创建影像

func CurrentUser

func CurrentUser(c echo.Context) *model.User

CurrentUser 获取当前用户

func DeletePicture

func DeletePicture(c echo.Context) error

DeletePicture 删除影像

func LikePicture

func LikePicture(c echo.Context) error

LikePicture 影像点赞

func ListPicture

func ListPicture(c echo.Context) error

ListPicture 影像列表

func PostComment

func PostComment(c echo.Context) error

PostComment 提交评论

func ShowComment

func ShowComment(c echo.Context) error

ShowComment 读取评论

func ShowPicture

func ShowPicture(c echo.Context) error

ShowPicture 读取影像

func UpdatePicture

func UpdatePicture(c echo.Context) error

UpdatePicture 更新影像

func UserLogin

func UserLogin(c echo.Context) error

UserLogin 用户登录

func UserMe

func UserMe(c echo.Context) error

UserMe 用户详情

func UserRegister

func UserRegister(c echo.Context) error

UserRegister 用户注册

Types

This section is empty.

Jump to

Keyboard shortcuts

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