初始化项目框架,完成部分接口开发

This commit is contained in:
2025-07-10 21:04:29 +08:00
commit b2871ec0d2
168 changed files with 6399 additions and 0 deletions

47
internal/model/upload.go Normal file
View File

@ -0,0 +1,47 @@
package model
import "github.com/gogf/gf/v2/net/ghttp"
type UploadIn struct {
File *ghttp.UploadFile
Type string
}
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
Code string
}
type SMSCodeOut struct {
Success bool
}
type CaptchaIn struct {
Name string
}
type CaptchaOut struct {
Success bool
}