Files
novel_server/internal/model/upload.go

17 lines
363 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
import (
"github.com/gogf/gf/v2/net/ghttp"
)
// 上传图片输入结构体
// File: 上传的文件Type: 图片类型或业务类型
type UploadImageIn struct {
File *ghttp.UploadFile `json:"file" dc:"上传的文件"`
Type string `json:"type" dc:"图片类型或业务类型"`
}
type UploadImageOut struct {
ImageUrl string
}