实现图片上传到oss
This commit is contained in:
15
api/upload/upload.go
Normal file
15
api/upload/upload.go
Normal file
@ -0,0 +1,15 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package upload
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"server/api/upload/v1"
|
||||
)
|
||||
|
||||
type IUploadV1 interface {
|
||||
Upload(ctx context.Context, req *v1.UploadReq) (res *v1.UploadRes, err error)
|
||||
}
|
||||
Reference in New Issue
Block a user