admineditor

package
Version: v0.0.0-...-b7070d4 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentSave

func ContentSave(c *gin.Context)

获取或更新文档内容.

func Release

func Release(c *gin.Context)

获取或更新文档内容.

func Upload

func Upload(c *gin.Context)

上传附件或图片.

Types

type ReqContentSave

type ReqContentSave struct {
	Id          int    `json:"id"`
	Type        int    `json:"type"`
	Name        string `json:"name"`
	PreMarkdown string `json:"markdown"`
	PreHtml     string `json:"html"`
}

type ReqRelease

type ReqRelease struct {
	Id   int `json:"id"`
	Type int `json:"type"`
}

type ReqUpload

type ReqUpload struct {
	Id    int    `json:"id"`
	Type  int    `json:"type"`
	Space string `json:"space"`
	Image string `json:"image"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL