feat: implement new structure
This commit is contained in:
15
backend/app/services/common.go
Normal file
15
backend/app/services/common.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package services
|
||||
|
||||
import (
|
||||
"context"
|
||||
"mime/multipart"
|
||||
|
||||
common_dto "quyun/v2/app/http/v1/dto"
|
||||
)
|
||||
|
||||
// @provider
|
||||
type common struct{}
|
||||
|
||||
func (s *common) Upload(ctx context.Context, file *multipart.FileHeader, typeArg string) (*common_dto.UploadResult, error) {
|
||||
return &common_dto.UploadResult{}, nil
|
||||
}
|
||||
Reference in New Issue
Block a user