38 lines
473 B
Go
38 lines
473 B
Go
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
|
|
}
|
|
|
|
type SMSCodeIn struct {
|
|
Phone string
|
|
}
|
|
|
|
type SMSCodeOut struct {
|
|
Success bool
|
|
}
|