书籍列表接口新增参数
This commit is contained in:
@ -1 +1,16 @@
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user