admineditor

package
v0.0.0-...-e6e6a7d Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 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"`
}

Jump to

Keyboard shortcuts

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