实现商户注册、管理员审核商户申请接口
This commit is contained in:
29
internal/model/upload.go
Normal file
29
internal/model/upload.go
Normal file
@ -0,0 +1,29 @@
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/net/ghttp"
|
||||
|
||||
type UploadIn struct {
|
||||
File *ghttp.UploadFile
|
||||
}
|
||||
|
||||
type UploadOut struct {
|
||||
Url string
|
||||
}
|
||||
type OssOutput struct {
|
||||
Url string
|
||||
}
|
||||
|
||||
type OssBytesInput struct {
|
||||
Bytes []byte
|
||||
Name string
|
||||
}
|
||||
|
||||
type OssGetFileInput struct {
|
||||
FilePath string
|
||||
Name string
|
||||
}
|
||||
|
||||
type OssUploadFileInput struct {
|
||||
Filename string
|
||||
File *ghttp.UploadFile
|
||||
}
|
||||
Reference in New Issue
Block a user