fix:裁剪业务逻辑调整
This commit is contained in:
parent
dc0ea32662
commit
cf33f2f179
|
@ -2,6 +2,7 @@ package file
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"fmt"
|
||||||
"fusenapi/model/gmodel"
|
"fusenapi/model/gmodel"
|
||||||
"fusenapi/utils/basic"
|
"fusenapi/utils/basic"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
@ -45,6 +46,7 @@ type UploadBaseRes struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (upload *Upload) UploadFileByBase64(req *UploadBaseReq) (*UploadBaseRes, error) {
|
func (upload *Upload) UploadFileByBase64(req *UploadBaseReq) (*UploadBaseRes, error) {
|
||||||
|
fmt.Println("base64上传参数:", req)
|
||||||
// 定义存储桶名称
|
// 定义存储桶名称
|
||||||
var bucketName *string
|
var bucketName *string
|
||||||
var apiType int64 = req.ApiType
|
var apiType int64 = req.ApiType
|
||||||
|
|
Loading…
Reference in New Issue
Block a user