MCPcopy Create free account
hub / github.com/53AI/53AIHub / PrepareWPSFileUpload

Function PrepareWPSFileUpload

api/controller/wps.go:683–685  ·  view source on GitHub ↗

PrepareWPSFileUpload godoc @Summary 准备WPS文件上传 @Description WPS三阶段上传第一步:协商摘要算法 @Tags WPS集成(回调接口) @Accept json @Produce json @Param file_id path string true "文件ID" @Param X-App-ID header string true "APP_ID" @Success 200 {object} weboffice.Reply{data=map[string][]string} @Failure 400 {object} weboffic

(c *gin.Context)

Source from the content-addressed store, hash-verified

681// @Failure 500 {object} weboffice.Reply
682// @Router /api/wps/v3/3rd/files/{file_id}/upload/prepare [get]
683func PrepareWPSFileUpload(c *gin.Context) {
684 wrapHandlerFunc(prepareWPSFileUpload)(c)
685}
686
687// GetWPSFileUploadAddress godoc
688// @Summary 获取WPS文件上传地址

Callers

nothing calls this directly

Calls 1

wrapHandlerFuncFunction · 0.85

Tested by

no test coverage detected